aboutsummaryrefslogtreecommitdiff
path: root/lib/libgeom
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-04-23 01:17:59 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-04-23 01:17:59 +0000
commitae0cf296c938ca56dcc3c269d9f6a3f38b2f0b47 (patch)
tree14b9cdc83518f23197d5ce202451b302dac3adec /lib/libgeom
parentd1f57d5900f0ef02414b41f2ebe92af63717d6a6 (diff)
downloadsrc-ae0cf296c938ca56dcc3c269d9f6a3f38b2f0b47.tar.gz
src-ae0cf296c938ca56dcc3c269d9f6a3f38b2f0b47.zip
Minor style(9) fixups
Delete trailing whitespace and sort headers. Leave libgeom.h's placement alone, per reasoning in r317289. MFC after: 5 weeks Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=317310
Diffstat (limited to 'lib/libgeom')
-rw-r--r--lib/libgeom/geom_stats.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/lib/libgeom/geom_stats.c b/lib/libgeom/geom_stats.c
index 48f71609a4b6..539c3202a521 100644
--- a/lib/libgeom/geom_stats.c
+++ b/lib/libgeom/geom_stats.c
@@ -29,20 +29,18 @@
* $FreeBSD$
*/
-#include <paths.h>
+#include <sys/types.h>
+#include <sys/devicestat.h>
+#include <sys/mman.h>
+#include <sys/time.h>
#include <errno.h>
#include <fcntl.h>
+#include <paths.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <libgeom.h>
-#include <sys/mman.h>
-#include <sys/time.h>
-#include <sys/types.h>
-#include <sys/devicestat.h>
-
-
/************************************************************/
static uint npages, pagesize, spp;
static int statsfd = -1;
@@ -67,7 +65,7 @@ geom_stats_resync(void)
if (statsfd == -1)
return;
for (;;) {
- p = mmap(statp, (npages + 1) * pagesize,
+ p = mmap(statp, (npages + 1) * pagesize,
PROT_READ, MAP_SHARED, statsfd, 0);
if (p == MAP_FAILED)
break;