diff options
author | des <des@FreeBSD.org> | 2010-08-19 11:20:24 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2010-08-19 11:20:24 +0000 |
commit | 3a511a56fe7b6da1c2a173ffdbc92e9bc8da612a (patch) | |
tree | c0c3c09907f84225590909996fece48672a0104d /sbin/geom/core | |
parent | 3fcf5283af6e269b4ee9a89b9f7b6b0cd22b9327 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sbin/geom/core/geom.c | 2 |
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) { |