Stop using TRUE and FALSE for exit status.
[oweals/busybox.git] / util-linux / fdflush.c
index 6633e12128a922b8d488b5c71c13371fc813226b..380015ddec2567f8b46e8de383e37c160ace3443 100644 (file)
@@ -40,7 +40,7 @@ extern int fdflush_main(int argc, char **argv)
        fd = open(*argv, 0);
        if (fd < 0) {
                perror(*argv);
-               exit(FALSE);
+               return EXIT_FAILURE;
        }
 
        value = ioctl(fd, FDFLUSH, 0);
@@ -50,7 +50,7 @@ extern int fdflush_main(int argc, char **argv)
 
        if (value) {
                perror(*argv);
-               exit(FALSE);
+               return EXIT_FAILURE;
        }
-       return(TRUE);
+       return EXIT_SUCCESS;
 }