Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Apr 2017 01:50:47 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r317312 - head/lib/libgeom
Message-ID:  <201704230150.v3N1olNu003937@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704230150.v3N1olNu003937>