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:
Bernhard Reutner-Fischer 2006-01-13 17:29:46 +00:00
parent 26ea0b7f16
commit 5a62284972

View File

@ -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 */