summaryrefslogtreecommitdiffstats
path: root/usr.sbin/fdformat
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-09-17 17:55:03 +0000
committerdg <dg@FreeBSD.org>1994-09-17 17:55:03 +0000
commit46574152f1436a540e509a60077248306ac6581c (patch)
tree0a32d99c33f326ca57eaa955505544076dc41523 /usr.sbin/fdformat
parent41cf2079fd708bbedd9ed42e8b1e49aedc247470 (diff)
downloadFreeBSD-src-46574152f1436a540e509a60077248306ac6581c.zip
FreeBSD-src-46574152f1436a540e509a60077248306ac6581c.tar.gz
Fix include path.
Diffstat (limited to 'usr.sbin/fdformat')
-rw-r--r--usr.sbin/fdformat/Makefile2
-rw-r--r--usr.sbin/fdformat/fdformat.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/fdformat/Makefile b/usr.sbin/fdformat/Makefile
index 3ee3b4d..1a49c28 100644
--- a/usr.sbin/fdformat/Makefile
+++ b/usr.sbin/fdformat/Makefile
@@ -4,6 +4,6 @@ PROG = fdformat
# the -I's seem to be confusing, but necessery this way
# (so the right <unistd.h> will be found in /usr/include, and the
# "../i386/isa/ic/nec765.h" included from fdreg.h is accessible, too)
-CFLAGS+= -Wall -I/usr/include -I/sys/sys
+CFLAGS+= -Wall -I/sys
.include <bsd.prog.mk>
diff --git a/usr.sbin/fdformat/fdformat.c b/usr.sbin/fdformat/fdformat.c
index 6ab7d94..c8844db 100644
--- a/usr.sbin/fdformat/fdformat.c
+++ b/usr.sbin/fdformat/fdformat.c
@@ -47,7 +47,7 @@
#include <errno.h>
#include <machine/ioctl_fd.h>
-#include <../i386/isa/fdreg.h> /* XXX should be in <machine> dir */
+#include <i386/isa/fdreg.h> /* XXX should be in <machine> dir */
static void
format_track(int fd, int cyl, int secs, int head, int rate,
OpenPOWER on IntegriCloud