From 10e1798df55c45362f904cc93c82b56915b54a17 Mon Sep 17 00:00:00 2001 From: Torsten Blum Date: Fri, 6 Oct 1995 16:25:10 +0000 Subject: [PATCH] st_size in struct stat has type off_t (long long) and not unsigned long change strtoul() to strtoq() --- usr.sbin/mtree/spec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/mtree/spec.c b/usr.sbin/mtree/spec.c index 443b3772ab9f..5df0534d309b 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;