aboutsummaryrefslogtreecommitdiff
path: root/deallocvt.c
diff options
context:
space:
mode:
Diffstat (limited to 'deallocvt.c')
-rw-r--r--deallocvt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/deallocvt.c b/deallocvt.c
index fad7a2bb2..b51fbaef4 100644
--- a/deallocvt.c
+++ b/deallocvt.c
@@ -31,9 +31,9 @@ int deallocvt_main(int argc, char *argv[])
31 for (i = 1; i < argc; i++) { 31 for (i = 1; i < argc; i++) {
32 num = atoi(argv[i]); 32 num = atoi(argv[i]);
33 if (num == 0) 33 if (num == 0)
34 error_msg("0: illegal VT number\n"); 34 error_msg("0: illegal VT number");
35 else if (num == 1) 35 else if (num == 1)
36 error_msg("VT 1 cannot be deallocated\n"); 36 error_msg("VT 1 cannot be deallocated");
37 else if (ioctl(fd, VT_DISALLOCATE, num)) 37 else if (ioctl(fd, VT_DISALLOCATE, num))
38 perror_msg_and_die("VT_DISALLOCATE"); 38 perror_msg_and_die("VT_DISALLOCATE");
39 } 39 }