summaryrefslogtreecommitdiff
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 bfeb6b2..e2ea538 100644
--- a/util-linux/losetup.c
+++ b/util-linux/losetup.c
@@ -39,16 +39,16 @@ losetup_main (int argc, char **argv)
break;
case 'o':
- offset = parse_number (optarg, NULL);
+ offset = bb_xparse_number (optarg, NULL);
break;
default:
- show_usage ();
+ bb_show_usage();
}
if ((delete && (offset || optind + 1 != argc))
|| (!delete && optind + 2 != argc))
- show_usage ();
+ bb_show_usage();
if (delete)
return del_loop (argv[optind]) ? EXIT_SUCCESS : EXIT_FAILURE;