summaryrefslogtreecommitdiff
path: root/loadacm.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-12-01 02:55:13 +0000
committerMatt Kraai <kraai@debian.org>2000-12-01 02:55:13 +0000
commit3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0 (patch)
tree013a1e7752113314831ad7d51854ce8dc9e0918b /loadacm.c
parentb558e76eb1ba173ce3501c3e13fb80f426a7faac (diff)
downloadbusybox-w32-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.tar.gz
busybox-w32-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.tar.bz2
busybox-w32-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.zip
Stop using TRUE and FALSE for exit status.
Diffstat (limited to 'loadacm.c')
-rw-r--r--loadacm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/loadacm.c b/loadacm.c
index f57737925..156210890 100644
--- a/loadacm.c
+++ b/loadacm.c
@@ -40,17 +40,17 @@ int loadacm_main(int argc, char **argv)
40 fd = open("/dev/tty", O_RDWR); 40 fd = open("/dev/tty", O_RDWR);
41 if (fd < 0) { 41 if (fd < 0) {
42 errorMsg("Error opening /dev/tty1: %s\n", strerror(errno)); 42 errorMsg("Error opening /dev/tty1: %s\n", strerror(errno));
43 return( FALSE); 43 return EXIT_FAILURE;
44 } 44 }
45 45
46 if (screen_map_load(fd, stdin)) { 46 if (screen_map_load(fd, stdin)) {
47 errorMsg("Error loading acm: %s\n", strerror(errno)); 47 errorMsg("Error loading acm: %s\n", strerror(errno));
48 return( FALSE); 48 return EXIT_FAILURE;
49 } 49 }
50 50
51 write(fd, "\033(K", 3); 51 write(fd, "\033(K", 3);
52 52
53 return( TRUE); 53 return EXIT_SUCCESS;
54} 54}
55 55
56int screen_map_load(int fd, FILE * fp) 56int screen_map_load(int fd, FILE * fp)