aboutsummaryrefslogtreecommitdiff
path: root/util-linux/losetup.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/losetup.c')
-rw-r--r--util-linux/losetup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/losetup.c b/util-linux/losetup.c
index bfeb6b274..e2ea538d5 100644
--- a/util-linux/losetup.c
+++ b/util-linux/losetup.c
@@ -39,16 +39,16 @@ losetup_main (int argc, char **argv)
39 break; 39 break;
40 40
41 case 'o': 41 case 'o':
42 offset = parse_number (optarg, NULL); 42 offset = bb_xparse_number (optarg, NULL);
43 break; 43 break;
44 44
45 default: 45 default:
46 show_usage (); 46 bb_show_usage();
47 } 47 }
48 48
49 if ((delete && (offset || optind + 1 != argc)) 49 if ((delete && (offset || optind + 1 != argc))
50 || (!delete && optind + 2 != argc)) 50 || (!delete && optind + 2 != argc))
51 show_usage (); 51 bb_show_usage();
52 52
53 if (delete) 53 if (delete)
54 return del_loop (argv[optind]) ? EXIT_SUCCESS : EXIT_FAILURE; 54 return del_loop (argv[optind]) ? EXIT_SUCCESS : EXIT_FAILURE;