diff options
Diffstat (limited to 'deallocvt.c')
-rw-r--r-- | deallocvt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deallocvt.c b/deallocvt.c index 4600c0d05..ebdce7b24 100644 --- a/deallocvt.c +++ b/deallocvt.c | |||
@@ -35,12 +35,12 @@ printf("erik: B\n"); | |||
35 | for (i = 1; i < argc; i++) { | 35 | for (i = 1; i < argc; i++) { |
36 | num = atoi(argv[i]); | 36 | num = atoi(argv[i]); |
37 | if (num == 0) | 37 | if (num == 0) |
38 | errorMsg("0: illegal VT number\n"); | 38 | error_msg("0: illegal VT number\n"); |
39 | else if (num == 1) | 39 | else if (num == 1) |
40 | errorMsg("VT 1 cannot be deallocated\n"); | 40 | error_msg("VT 1 cannot be deallocated\n"); |
41 | else if (ioctl(fd, VT_DISALLOCATE, num)) { | 41 | else if (ioctl(fd, VT_DISALLOCATE, num)) { |
42 | perror("VT_DISALLOCATE"); | 42 | perror("VT_DISALLOCATE"); |
43 | fatalError("could not deallocate console %d\n", num); | 43 | error_msg_and_die("could not deallocate console %d\n", num); |
44 | } | 44 | } |
45 | } | 45 | } |
46 | printf("erik: C\n"); | 46 | printf("erik: C\n"); |