diff options
-rw-r--r-- | util-linux/losetup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/losetup.c b/util-linux/losetup.c index 44721bd34..24639ad1c 100644 --- a/util-linux/losetup.c +++ b/util-linux/losetup.c | |||
@@ -39,7 +39,7 @@ die_failed: | |||
39 | bb_perror_msg_and_die("%s",argv[optind]); | 39 | bb_perror_msg_and_die("%s",argv[optind]); |
40 | 40 | ||
41 | case 'o': | 41 | case 'o': |
42 | offset = bb_xparse_number (optarg, NULL); | 42 | offset = atol(optarg); |
43 | /* Fall through to do the losetup */ | 43 | /* Fall through to do the losetup */ |
44 | case -1: | 44 | case -1: |
45 | /* losetup takes two argument:, loop_device and file */ | 45 | /* losetup takes two argument:, loop_device and file */ |