aboutsummaryrefslogtreecommitdiff
path: root/deallocvt.c
diff options
context:
space:
mode:
authorMark Whitley <markw@lineo.com>2000-12-07 19:56:48 +0000
committerMark Whitley <markw@lineo.com>2000-12-07 19:56:48 +0000
commitf57c944e09417edcbcd69f2b01b937cadef39db2 (patch)
treea55822621d54bd82c54e272fa986e45698fea0f1 /deallocvt.c
parent7b5c16ebe5f1b057603cf1c0b0187be418725c42 (diff)
downloadbusybox-w32-f57c944e09417edcbcd69f2b01b937cadef39db2.tar.gz
busybox-w32-f57c944e09417edcbcd69f2b01b937cadef39db2.tar.bz2
busybox-w32-f57c944e09417edcbcd69f2b01b937cadef39db2.zip
Changed names of functions in utility.c and all affected files, to make
compliant with the style guide. Everybody rebuild your tags file!
Diffstat (limited to 'deallocvt.c')
-rw-r--r--deallocvt.c6
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 }
46printf("erik: C\n"); 46printf("erik: C\n");