summaryrefslogtreecommitdiff
path: root/util-linux/ipcrm.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/ipcrm.c')
-rw-r--r--util-linux/ipcrm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/ipcrm.c b/util-linux/ipcrm.c
index 8d5f63c..5dcda85 100644
--- a/util-linux/ipcrm.c
+++ b/util-linux/ipcrm.c
@@ -111,7 +111,7 @@ int ipcrm_main(int argc, char **argv)
what = SEM;
if (remove_ids(what, argc-2, &argv[2]))
- fflush_stdout_and_exit(1);
+ fflush_stdout_and_exit(EXIT_FAILURE);
printf("resource(s) deleted\n");
return 0;
}