Author: ngie
Date: Sun Apr 23 01:50:47 2017
New Revision: 317312
URL: https://svnweb.freebsd.org/changeset/base/317312

Log:
  Fix type for `pagesize` to match the return type for getpagesize(3)
  to fix the build
  
  MFC after:    5 weeks
  X-MFC with:   r317311
  Pointyhat to: ngie
  Sponsored by: Dell EMC Isilon

Modified:
  head/lib/libgeom/geom_stats.c

Modified: head/lib/libgeom/geom_stats.c
==============================================================================
--- head/lib/libgeom/geom_stats.c       Sun Apr 23 01:47:51 2017        
(r317311)
+++ head/lib/libgeom/geom_stats.c       Sun Apr 23 01:50:47 2017        
(r317312)
@@ -42,8 +42,8 @@
 #include <libgeom.h>
 
 /************************************************************/
-static uint npages, pagesize, spp;
-static int statsfd = -1;
+static uint npages, spp;
+static int pagesize, statsfd = -1;
 static u_char *statp;
 
 void
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to