summaryrefslogtreecommitdiffstats
path: root/lib/log/log.h
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2002-12-12 20:55:49 +0000
committerAlasdair Kergon <agk@redhat.com>2002-12-12 20:55:49 +0000
commit4c64ed4ced7dcd3a98a63da1cd3a6f2f1f2d1701 (patch)
tree2c0968a82423acbddbc610bfea5518b212429f91 /lib/log/log.h
parenteb537fa130c9c9fca9c10319b2b955d800ba3742 (diff)
downloadlvm2-4c64ed4ced7dcd3a98a63da1cd3a6f2f1f2d1701.tar.gz
lvm2-4c64ed4ced7dcd3a98a63da1cd3a6f2f1f2d1701.tar.xz
lvm2-4c64ed4ced7dcd3a98a63da1cd3a6f2f1f2d1701.zip
New column-based reporting tools: lvs, pvs & vgs.
Diffstat (limited to 'lib/log/log.h')
-rw-r--r--lib/log/log.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/log/log.h b/lib/log/log.h
index 6ed54016..d46a2a86 100644
--- a/lib/log/log.h
+++ b/lib/log/log.h
@@ -28,8 +28,8 @@
*
*/
-#include <stdio.h> /* FILE */
-#include <string.h> /* strerror() */
+#include <stdio.h> /* FILE */
+#include <string.h> /* strerror() */
#include <errno.h>
#define _LOG_DEBUG 7
@@ -65,7 +65,7 @@ int ignorelockingfailure(void);
void log_suppress(int suppress);
void print_log(int level, const char *file, int line, const char *format, ...)
- __attribute__ (( format (printf, 4, 5) ));
+ __attribute__ ((format(printf, 4, 5)));
#define plog(l, x...) print_log(l, __FILE__, __LINE__ , ## x)
@@ -90,4 +90,3 @@ void print_log(int level, const char *file, int line, const char *format, ...)
log_info("%s: %s failed: %s", y, x, strerror(errno))
#endif
-