mirror of
https://github.com/sheumann/hush.git
synced 2024-12-25 18:33:06 +00:00
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]);
|
||||
|
||||
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 */
|
||||
|
Loading…
Reference in New Issue
Block a user