summaryrefslogtreecommitdiffstats
path: root/sbin/geom/core/geom.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2010-08-19 11:20:24 +0000
committerdes <des@FreeBSD.org>2010-08-19 11:20:24 +0000
commit3a511a56fe7b6da1c2a173ffdbc92e9bc8da612a (patch)
treec0c3c09907f84225590909996fece48672a0104d /sbin/geom/core/geom.c
parent3fcf5283af6e269b4ee9a89b9f7b6b0cd22b9327 (diff)
downloadFreeBSD-src-3a511a56fe7b6da1c2a173ffdbc92e9bc8da612a.zip
FreeBSD-src-3a511a56fe7b6da1c2a173ffdbc92e9bc8da612a.tar.gz
expand_number(3) takes a uint64_t * now; intmax_t was never correct
except by accident. MFC after: 3 weeks
Diffstat (limited to 'sbin/geom/core/geom.c')
-rw-r--r--sbin/geom/core/geom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/geom/core/geom.c b/sbin/geom/core/geom.c
index 49ebdc5..f673aad 100644
--- a/sbin/geom/core/geom.c
+++ b/sbin/geom/core/geom.c
@@ -237,7 +237,7 @@ static void
set_option(struct gctl_req *req, struct g_option *opt, const char *val)
{
char *s;
- intmax_t number;
+ uint64_t number;
if (G_OPT_TYPE(opt) == G_TYPE_NUMBER ||
G_OPT_TYPE(opt) == G_TYPE_ASCNUM) {
OpenPOWER on IntegriCloud