diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-09-16 10:22:25 +0400 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-09-16 10:22:25 +0400 |
commit | c38678d14b87f8e2d4f0d610d0aa61c656f17539 (patch) | |
tree | 8a08f41faae7672a634f32234dee4b5308cda39c /console-tools/chvt.c | |
parent | 166fa4684f33579277f34d887537c2abefc9deb0 (diff) |
Apply vodz' last_patch52
Diffstat (limited to 'console-tools/chvt.c')
-rw-r--r-- | console-tools/chvt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/console-tools/chvt.c b/console-tools/chvt.c index c76e9c780..8136f1c15 100644 --- a/console-tools/chvt.c +++ b/console-tools/chvt.c @@ -24,7 +24,7 @@ int chvt_main(int argc, char **argv) if ((argc != 2) || (**(argv + 1) == '-')) show_usage(); - fd = get_console_fd("/dev/console"); + fd = get_console_fd(); num = atoi(argv[1]); if (ioctl(fd, VT_ACTIVATE, num)) perror_msg_and_die("VT_ACTIVATE"); |