svn commit: r211500 - head/sbin/geom/core
Dag-Erling Smorgrav
des at FreeBSD.org
Thu Aug 19 11:20:25 UTC 2010
Author: des
Date: Thu Aug 19 11:20:24 2010
New Revision: 211500
URL: http://svn.freebsd.org/changeset/base/211500
Log:
expand_number(3) takes a uint64_t * now; intmax_t was never correct
except by accident.
MFC after: 3 weeks
Modified:
head/sbin/geom/core/geom.c
Modified: head/sbin/geom/core/geom.c
==============================================================================
--- head/sbin/geom/core/geom.c Thu Aug 19 11:19:21 2010 (r211499)
+++ head/sbin/geom/core/geom.c Thu Aug 19 11:20:24 2010 (r211500)
@@ -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) {
More information about the svn-src-head
mailing list