From 7783248eaac715b813f0635b06cc140ea99bb4d9 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 12 Aug 2010 14:14:45 +0200 Subject: *: s/xatoi_u/xatoi_positive/g - I got bored of mistyping xatoi_u as xatou_i Signed-off-by: Denys Vlasenko --- util-linux/hexdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-linux/hexdump.c') diff --git a/util-linux/hexdump.c b/util-linux/hexdump.c index 2eb5e57ae..7b89e6fdc 100644 --- a/util-linux/hexdump.c +++ b/util-linux/hexdump.c @@ -90,7 +90,7 @@ int hexdump_main(int argc, char **argv) bb_dump_addfile(dumper, optarg); } /* else */ if (ch == 'n') { - dumper->dump_length = xatoi_u(optarg); + dumper->dump_length = xatoi_positive(optarg); } /* else */ if (ch == 's') { /* compat: -s accepts hex numbers too */ dumper->dump_skip = xstrtoul_range_sfx(optarg, /*base:*/ 0, /*lo:*/ 0, /*hi:*/ LONG_MAX, suffixes); -- cgit v1.2.3