aboutsummaryrefslogtreecommitdiff
path: root/util-linux/ipcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/ipcs.c')
-rw-r--r--util-linux/ipcs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/util-linux/ipcs.c b/util-linux/ipcs.c
index ef2529c05..5973cbf57 100644
--- a/util-linux/ipcs.c
+++ b/util-linux/ipcs.c
@@ -600,15 +600,15 @@ int ipcs_main(int argc UNUSED_PARAM, char **argv)
600 id = xatoi(opt_i); 600 id = xatoi(opt_i);
601 if (opt & flag_shm) { 601 if (opt & flag_shm) {
602 print_shm(id); 602 print_shm(id);
603 fflush_stdout_and_exit(EXIT_SUCCESS); 603 fflush_stdout_and_exit_SUCCESS();
604 } 604 }
605 if (opt & flag_sem) { 605 if (opt & flag_sem) {
606 print_sem(id); 606 print_sem(id);
607 fflush_stdout_and_exit(EXIT_SUCCESS); 607 fflush_stdout_and_exit_SUCCESS();
608 } 608 }
609 if (opt & flag_msg) { 609 if (opt & flag_msg) {
610 print_msg(id); 610 print_msg(id);
611 fflush_stdout_and_exit(EXIT_SUCCESS); 611 fflush_stdout_and_exit_SUCCESS();
612 } 612 }
613 bb_show_usage(); 613 bb_show_usage();
614 } 614 }
@@ -633,5 +633,5 @@ int ipcs_main(int argc UNUSED_PARAM, char **argv)
633 do_sem(format); 633 do_sem(format);
634 bb_putchar('\n'); 634 bb_putchar('\n');
635 } 635 }
636 fflush_stdout_and_exit(EXIT_SUCCESS); 636 fflush_stdout_and_exit_SUCCESS();
637} 637}