summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1994-09-25 18:44:26 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1994-09-25 18:44:26 +0000
commit9a89db44b80b1ad690e45dc24b5b9630b314f697 (patch)
treea1684f36b775a748a959127ee186919e37af6292
parentc7a64a0369a03577999bb956a07cd893a06cc88c (diff)
Notes
-rw-r--r--usr.sbin/fdformat/Makefile2
-rw-r--r--usr.sbin/fdformat/fdformat.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/fdformat/Makefile b/usr.sbin/fdformat/Makefile
index 5325b6a18531..e489ebc7465c 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${DESTDIR}/sys
+CFLAGS+= -Wall
.include <bsd.prog.mk>
diff --git a/usr.sbin/fdformat/fdformat.c b/usr.sbin/fdformat/fdformat.c
index c8844db7f413..b43af82c624c 100644
--- a/usr.sbin/fdformat/fdformat.c
+++ b/usr.sbin/fdformat/fdformat.c
@@ -47,7 +47,6 @@
#include <errno.h>
#include <machine/ioctl_fd.h>
-#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,