Date: Thu, 19 Aug 2010 11:20:25 +0000 (UTC) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r211500 - head/sbin/geom/core Message-ID: <201008191120.o7JBKPma002124@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008191120.o7JBKPma002124>