summaryrefslogtreecommitdiff
path: root/sbin/fdisk/fdisk.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2018-04-26 15:55:15 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2018-04-26 15:55:15 +0000
commit29364884c57d94778b19fe39a672361fa95d142a (patch)
tree3c4a4140d25e12efb0365d7b85973f78dae66999 /sbin/fdisk/fdisk.c
parent3c5ad4178e6c30cb1550a85f0e5a0b252cb87297 (diff)
Prefer <fcntl.h> over <sys/fcntl.h> in userland
While here, delete some extra #includes and apply style(9) sort rules. ok deraadt@ krw@ mpi@
Diffstat (limited to 'sbin/fdisk/fdisk.c')
-rw-r--r--sbin/fdisk/fdisk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fdisk/fdisk.c b/sbin/fdisk/fdisk.c
index 6c3a51c4399..2d85a7c2a1e 100644
--- a/sbin/fdisk/fdisk.c
+++ b/sbin/fdisk/fdisk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fdisk.c,v 1.102 2016/12/27 15:01:03 krw Exp $ */
+/* $OpenBSD: fdisk.c,v 1.103 2018/04/26 15:55:14 guenther Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -17,10 +17,10 @@
*/
#include <sys/types.h>
-#include <sys/fcntl.h>
#include <sys/disklabel.h>
#include <err.h>
+#include <fcntl.h>
#include <paths.h>
#include <stdint.h>
#include <stdio.h>