diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-02-17 15:52:02 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-02-17 15:52:02 +0000 |
commit | d01c2739ee04c79a8da5fb68ef889d862e747921 (patch) | |
tree | 3c6f8dd683c840fd4855f86e6956db38ad9320bb /console-tools/setconsole.c | |
parent | de436fdcedf26d45531d2c147c9b03c778514600 (diff) | |
download | busybox-w32-d01c2739ee04c79a8da5fb68ef889d862e747921.tar.gz busybox-w32-d01c2739ee04c79a8da5fb68ef889d862e747921.tar.bz2 busybox-w32-d01c2739ee04c79a8da5fb68ef889d862e747921.zip |
init: code readability enhancements; very small code changes
git-svn-id: svn://busybox.net/trunk/busybox@17917 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'console-tools/setconsole.c')
-rw-r--r-- | console-tools/setconsole.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/console-tools/setconsole.c b/console-tools/setconsole.c index 6621d25f8..7ddef697c 100644 --- a/console-tools/setconsole.c +++ b/console-tools/setconsole.c | |||
@@ -38,7 +38,7 @@ int setconsole_main(int argc, char **argv) | |||
38 | device = argv[optind]; | 38 | device = argv[optind]; |
39 | } else { | 39 | } else { |
40 | if (flags & OPT_SETCONS_RESET) | 40 | if (flags & OPT_SETCONS_RESET) |
41 | device = CONSOLE_DEV; | 41 | device = DEV_CONSOLE; |
42 | } | 42 | } |
43 | 43 | ||
44 | if (-1 == ioctl(xopen(device, O_RDONLY), TIOCCONS)) { | 44 | if (-1 == ioctl(xopen(device, O_RDONLY), TIOCCONS)) { |