aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util-linux/dmesg.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c
index 0c0d2d7c0..b7d17840f 100644
--- a/util-linux/dmesg.c
+++ b/util-linux/dmesg.c
@@ -28,7 +28,11 @@
int dmesg_main(int argc, char **argv)
{
- char *buf;
+ char *buf
+#ifdef CONFIG_FEATURE_CLEAN_UP
+ = NULL
+#endif
+ ;
int bufsize = 8196;
int i, n;
int level = 0;