summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/losetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/losetup.c b/util-linux/losetup.c
index 44721bd..24639ad 100644
--- a/util-linux/losetup.c
+++ b/util-linux/losetup.c
@@ -39,7 +39,7 @@ die_failed:
bb_perror_msg_and_die("%s",argv[optind]);
case 'o':
- offset = bb_xparse_number (optarg, NULL);
+ offset = atol(optarg);
/* Fall through to do the losetup */
case -1:
/* losetup takes two argument:, loop_device and file */