aboutsummaryrefslogtreecommitdiff
path: root/console-tools/loadacm.c
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools/loadacm.c')
-rw-r--r--console-tools/loadacm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/console-tools/loadacm.c b/console-tools/loadacm.c
index f57737925..156210890 100644
--- a/console-tools/loadacm.c
+++ b/console-tools/loadacm.c
@@ -40,17 +40,17 @@ int loadacm_main(int argc, char **argv)
fd = open("/dev/tty", O_RDWR);
if (fd < 0) {
errorMsg("Error opening /dev/tty1: %s\n", strerror(errno));
- return( FALSE);
+ return EXIT_FAILURE;
}
if (screen_map_load(fd, stdin)) {
errorMsg("Error loading acm: %s\n", strerror(errno));
- return( FALSE);
+ return EXIT_FAILURE;
}
write(fd, "\033(K", 3);
- return( TRUE);
+ return EXIT_SUCCESS;
}
int screen_map_load(int fd, FILE * fp)