diff options
Diffstat (limited to 'loadacm.c')
-rw-r--r-- | loadacm.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 | ||
56 | int screen_map_load(int fd, FILE * fp) | 56 | int screen_map_load(int fd, FILE * fp) |