mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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
This commit is contained in:
parent
d1f57d5900
commit
ae0cf296c9
1 changed files with 6 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue