aboutsummaryrefslogtreecommitdiff
path: root/util-linux/dmesg.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/dmesg.c')
-rw-r--r--util-linux/dmesg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c
index e543446c1..50e8a0fce 100644
--- a/util-linux/dmesg.c
+++ b/util-linux/dmesg.c
@@ -34,8 +34,7 @@ int dmesg_main(int argc UNUSED_PARAM, char **argv)
34 OPT_r = 1 << 3 34 OPT_r = 1 << 3
35 }; 35 };
36 36
37 opt_complementary = "s+:n+"; /* numeric */ 37 opts = getopt32(argv, "cs:+n:+r", &len, &level);
38 opts = getopt32(argv, "cs:n:r", &len, &level);
39 if (opts & OPT_n) { 38 if (opts & OPT_n) {
40 if (klogctl(8, NULL, (long) level)) 39 if (klogctl(8, NULL, (long) level))
41 bb_perror_msg_and_die("klogctl"); 40 bb_perror_msg_and_die("klogctl");