svn commit: r317312 - head/lib/libgeom

Ngie Cooper ngie at FreeBSD.org
Sun Apr 23 01:50:48 UTC 2017


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


More information about the svn-src-head mailing list