summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtree
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/mtree')
-rw-r--r--usr.sbin/mtree/spec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mtree/spec.c b/usr.sbin/mtree/spec.c
index 443b377..5df0534 100644
--- a/usr.sbin/mtree/spec.c
+++ b/usr.sbin/mtree/spec.c
@@ -211,7 +211,7 @@ set(t, ip)
err("invalid link count %s", val);
break;
case F_SIZE:
- ip->st_size = strtoul(val, &ep, 10);
+ ip->st_size = strtoq(val, &ep, 10);
if (*ep)
err("invalid size %s", val);
break;
OpenPOWER on IntegriCloud