init: code readability enhancements; very small code changes

This commit is contained in:
Denis Vlasenko
2007-02-17 15:52:02 +00:00
parent c84520d73d
commit ec27feb045
5 changed files with 62 additions and 65 deletions

View File

@ -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)) {