aboutsummaryrefslogtreecommitdiff
path: root/bin/dd
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2016-02-09 09:32:10 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2016-02-09 09:32:10 +0000
commitd819236121d163b1936bfd6d7beba3356b209b8c (patch)
tree4827d9b7ee81ad147e3e677724a74e38dd5c6e31 /bin/dd
parentc00a03a11df515e9bb12c3b247efd562abbc063d (diff)
downloadsrc-d819236121d163b1936bfd6d7beba3356b209b8c.tar.gz
src-d819236121d163b1936bfd6d7beba3356b209b8c.zip
Notes
Diffstat (limited to 'bin/dd')
-rw-r--r--bin/dd/args.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/dd/args.c b/bin/dd/args.c
index 1cbf3b374cf1..6cbc65adde64 100644
--- a/bin/dd/args.c
+++ b/bin/dd/args.c
@@ -419,7 +419,7 @@ get_num(const char *val)
char *expr;
errno = 0;
- num = strtouq(val, &expr, 0);
+ num = strtoumax(val, &expr, 0);
if (errno != 0) /* Overflow or underflow. */
err(1, "%s", oper);
@@ -469,7 +469,7 @@ get_off_t(const char *val)
char *expr;
errno = 0;
- num = strtoq(val, &expr, 0);
+ num = strtoimax(val, &expr, 0);
if (errno != 0) /* Overflow or underflow. */
err(1, "%s", oper);