diff options
Diffstat (limited to 'console-tools/setlogcons.c')
-rw-r--r-- | console-tools/setlogcons.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/console-tools/setlogcons.c b/console-tools/setlogcons.c index 83a895407..c76a5a42b 100644 --- a/console-tools/setlogcons.c +++ b/console-tools/setlogcons.c | |||
@@ -22,9 +22,10 @@ int setlogcons_main(int argc UNUSED_PARAM, char **argv) | |||
22 | struct { | 22 | struct { |
23 | char fn; | 23 | char fn; |
24 | char subarg; | 24 | char subarg; |
25 | } arg = { 11, /* redirect kernel messages */ | 25 | } arg = { |
26 | 0 /* to specified console (current as default) */ | 26 | 11, /* redirect kernel messages */ |
27 | }; | 27 | 0 /* to specified console (current as default) */ |
28 | }; | ||
28 | 29 | ||
29 | if (argv[1]) | 30 | if (argv[1]) |
30 | arg.subarg = xatou_range(argv[1], 0, 63); | 31 | arg.subarg = xatou_range(argv[1], 0, 63); |