diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-03-27 15:18:32 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-03-27 15:18:32 +0100 |
commit | 2c24806bf48cddcdaa32d654986e5c275a3d34f6 (patch) | |
tree | 6e7dec5a5c89aca5bbdcf33dd531d35da0b2c1f5 | |
parent | ef6747e290d0456d140129f28283e0761713da2e (diff) | |
download | busybox-w32-2c24806bf48cddcdaa32d654986e5c275a3d34f6.tar.gz busybox-w32-2c24806bf48cddcdaa32d654986e5c275a3d34f6.tar.bz2 busybox-w32-2c24806bf48cddcdaa32d654986e5c275a3d34f6.zip |
hexdump: need to use xstrtoull for off_t
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | util-linux/hexdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/hexdump.c b/util-linux/hexdump.c index 43fc188bf..4d998b916 100644 --- a/util-linux/hexdump.c +++ b/util-linux/hexdump.c | |||
@@ -116,7 +116,7 @@ int hexdump_main(int argc, char **argv) | |||
116 | dumper->dump_length = xatoi_positive(optarg); | 116 | dumper->dump_length = xatoi_positive(optarg); |
117 | } /* else */ | 117 | } /* else */ |
118 | if (ch == 's') { /* compat: -s accepts hex numbers too */ | 118 | if (ch == 's') { /* compat: -s accepts hex numbers too */ |
119 | dumper->dump_skip = xstrtoul_range_sfx( | 119 | dumper->dump_skip = xstrtoull_range_sfx( |
120 | optarg, | 120 | optarg, |
121 | /*base:*/ 0, | 121 | /*base:*/ 0, |
122 | /*lo:*/ 0, /*hi:*/ OFF_T_MAX, | 122 | /*lo:*/ 0, /*hi:*/ OFF_T_MAX, |