Changed bb_regcomp to xregcomp and #if 0'ed out destroy_cmd_strs in sed.c
[oweals/busybox.git] / dmesg.c
diff --git a/dmesg.c b/dmesg.c
index 6fa17b5fb8bd5c6035b2df0399b345f68b1defd6..df2bce7133b6afb76ed25940560c7cfce63b7f2d 100644 (file)
--- a/dmesg.c
+++ b/dmesg.c
@@ -16,9 +16,7 @@
  */
 
 #include "internal.h"
-#include <linux/unistd.h>
 #include <stdio.h>
-#include <getopt.h>
 #include <stdlib.h>
 
 #if __GNU_LIBRARY__ < 5
@@ -129,6 +127,5 @@ int dmesg_main(int argc, char **argv)
        exit(FALSE);
   klogctl_error:
        perror("klogctl");
-       exit(FALSE);
-
+       return(FALSE);
 }