aboutsummaryrefslogtreecommitdiff
path: root/deallocvt.c
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-01-31 19:00:21 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-01-31 19:00:21 +0000
commitdaa692b64776f1e2552a198ae786d2e5f3b50620 (patch)
tree3933adefa4171173db78fa2389146ac89f4edb86 /deallocvt.c
parent434f1b16e15a308f02d9fc1adc5fa1e483955fed (diff)
downloadbusybox-w32-daa692b64776f1e2552a198ae786d2e5f3b50620.tar.gz
busybox-w32-daa692b64776f1e2552a198ae786d2e5f3b50620.tar.bz2
busybox-w32-daa692b64776f1e2552a198ae786d2e5f3b50620.zip
Removed trailing \n from error_msg{,_and_die} messages.
git-svn-id: svn://busybox.net/trunk/busybox@1732 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 }