Stop using TRUE and FALSE for exit status.

This commit is contained in:
Matt Kraai
2000-12-01 02:55:13 +00:00
parent b558e76eb1
commit 3e856ce428
132 changed files with 375 additions and 373 deletions

View File

@@ -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)