aboutsummaryrefslogtreecommitdiff
path: root/console-tools/setconsole.c
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-02-17 15:52:02 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-02-17 15:52:02 +0000
commitec27feb04589d46233802f686559fb5f532fb2df (patch)
tree3c6f8dd683c840fd4855f86e6956db38ad9320bb /console-tools/setconsole.c
parentc84520d73dbe100449d84241ec0df9d02ee0fc4d (diff)
downloadbusybox-ec27feb04589d46233802f686559fb5f532fb2df.tar.gz
busybox-ec27feb04589d46233802f686559fb5f532fb2df.tar.bz2
init: code readability enhancements; very small code changes
Diffstat (limited to 'console-tools/setconsole.c')
-rw-r--r--console-tools/setconsole.c2
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)
device = argv[optind];
} else {
if (flags & OPT_SETCONS_RESET)
- device = CONSOLE_DEV;
+ device = DEV_CONSOLE;
}
if (-1 == ioctl(xopen(device, O_RDONLY), TIOCCONS)) {