diff options
author | Denys Vlasenko | 2013-03-27 15:15:33 +0100 |
---|---|---|
committer | Denys Vlasenko | 2013-03-27 15:15:33 +0100 |
commit | ef6747e290d0456d140129f28283e0761713da2e (patch) | |
tree | b7bdf26c8e72e232cb8567bbbc2b1806ed3986ef /libbb | |
parent | 80a38ca11c3c9e0fdef07ad3fc908aa54afb4386 (diff) | |
download | busybox-ef6747e290d0456d140129f28283e0761713da2e.zip busybox-ef6747e290d0456d140129f28283e0761713da2e.tar.gz |
hexdump: don't unconditionally limit the usable address range
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/dump.c b/libbb/dump.c index 7e43564..566881a 100644 --- a/libbb/dump.c +++ b/libbb/dump.c @@ -333,7 +333,7 @@ static void do_skip(priv_dumper_t *dumper, const char *fname, int statok) return; } } - if (fseek(stdin, dumper->pub.dump_skip, SEEK_SET)) { + if (fseeko(stdin, dumper->pub.dump_skip, SEEK_SET)) { bb_simple_perror_msg_and_die(fname); } dumper->address += dumper->pub.dump_skip; |