this applet needlessly big! TODO: bb_getopt_ulflags()
- use atol for the offset, which is always in bytes. Small step in eventually dropping bb_xparse_number().
This commit is contained in:
parent
26ea0b7f16
commit
5a62284972
@ -39,7 +39,7 @@ die_failed:
|
|||||||
bb_perror_msg_and_die("%s",argv[optind]);
|
bb_perror_msg_and_die("%s",argv[optind]);
|
||||||
|
|
||||||
case 'o':
|
case 'o':
|
||||||
offset = bb_xparse_number (optarg, NULL);
|
offset = atol(optarg);
|
||||||
/* Fall through to do the losetup */
|
/* Fall through to do the losetup */
|
||||||
case -1:
|
case -1:
|
||||||
/* losetup takes two argument:, loop_device and file */
|
/* losetup takes two argument:, loop_device and file */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user