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) {
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to