aboutsummaryrefslogtreecommitdiff
path: root/util-linux/dmesg.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>1999-10-06 20:25:32 +0000
committerEric Andersen <andersen@codepoet.org>1999-10-06 20:25:32 +0000
commit17d49efd8ce6507152d78a70574193bb1b313af6 (patch)
tree64e24302dc2575867d8a78897500e5a5b2a48398 /util-linux/dmesg.c
parent9d3aba7b37b275350a9fe0887871da9ba73dcbd7 (diff)
downloadbusybox-w32-17d49efd8ce6507152d78a70574193bb1b313af6.tar.gz
busybox-w32-17d49efd8ce6507152d78a70574193bb1b313af6.tar.bz2
busybox-w32-17d49efd8ce6507152d78a70574193bb1b313af6.zip
More stuff.
Diffstat (limited to 'util-linux/dmesg.c')
-rw-r--r--util-linux/dmesg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c
index a63fa3d39..9096621b0 100644
--- a/util-linux/dmesg.c
+++ b/util-linux/dmesg.c
@@ -28,7 +28,7 @@ static inline _syscall3(int,klog,int,type,char *,b,int,len)
28const char dmesg_usage[] = "dmesg"; 28const char dmesg_usage[] = "dmesg";
29 29
30int 30int
31dmesg_main(struct FileInfo * info, int argc, char * * argv) 31dmesg_main(int argc, char * * argv)
32{ 32{
33 33
34 char buf[4096]; 34 char buf[4096];
@@ -50,7 +50,7 @@ dmesg_main(struct FileInfo * info, int argc, char * * argv)
50 break; 50 break;
51 case '?': 51 case '?':
52 default: 52 default:
53 usage(dmesg_usage); 53 fprintf(stderr, "%s\n", dmesg_usage);
54 exit(1); 54 exit(1);
55 } 55 }
56 } 56 }
@@ -58,7 +58,7 @@ dmesg_main(struct FileInfo * info, int argc, char * * argv)
58 argv += optind; 58 argv += optind;
59 59
60 if (argc > 1) { 60 if (argc > 1) {
61 usage(dmesg_usage); 61 fprintf(stderr, "%s\n", dmesg_usage);
62 exit(1); 62 exit(1);
63 } 63 }
64 64