aboutsummaryrefslogtreecommitdiff
path: root/fdflush.c
diff options
context:
space:
mode:
Diffstat (limited to 'fdflush.c')
-rw-r--r--fdflush.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fdflush.c b/fdflush.c
index 6633e1212..380015dde 100644
--- a/fdflush.c
+++ b/fdflush.c
@@ -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;
}