aboutsummaryrefslogtreecommitdiff
path: root/dmesg.c
diff options
context:
space:
mode:
Diffstat (limited to 'dmesg.c')
-rw-r--r--dmesg.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/dmesg.c b/dmesg.c
index 961e532b0..a8c61c7b4 100644
--- a/dmesg.c
+++ b/dmesg.c
@@ -32,16 +32,6 @@ static inline _syscall3(int, klogctl, int, type, char *, b, int, len);
32# include <sys/klog.h> 32# include <sys/klog.h>
33#endif 33#endif
34 34
35static const char dmesg_usage[] = "dmesg [-c] [-n LEVEL] [-s SIZE]\n"
36#ifndef BB_FEATURE_TRIVIAL_HELP
37 "\nPrints or controls the kernel ring buffer\n\n"
38 "Options:\n"
39 "\t-c\t\tClears the ring buffer's contents after printing\n"
40 "\t-n LEVEL\tSets console logging level\n"
41 "\t-s SIZE\t\tUse a buffer of size SIZE\n"
42#endif
43 ;
44
45int dmesg_main(int argc, char **argv) 35int dmesg_main(int argc, char **argv)
46{ 36{
47 char *buf, c; 37 char *buf, c;