diff options
author | eivind <eivind@FreeBSD.org> | 1998-08-06 21:19:11 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1998-08-06 21:19:11 +0000 |
commit | 02824f2ad90badfccd8ca483c483615d1526ce95 (patch) | |
tree | d8fdd71ca75de8271b404ee6f095992ea687381d /usr.sbin/dpt/dpt_sysinfo | |
parent | 4ffa6467e99ca489da28e79490de7e1dc5e5e08f (diff) | |
download | FreeBSD-src-02824f2ad90badfccd8ca483c483615d1526ce95.zip FreeBSD-src-02824f2ad90badfccd8ca483c483615d1526ce95.tar.gz |
Don't mess around in OBJDIR for includes, and remove some warnings.
Diffstat (limited to 'usr.sbin/dpt/dpt_sysinfo')
-rw-r--r-- | usr.sbin/dpt/dpt_sysinfo/Makefile | 4 | ||||
-rw-r--r-- | usr.sbin/dpt/dpt_sysinfo/dpt_sysinfo.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/dpt/dpt_sysinfo/Makefile b/usr.sbin/dpt/dpt_sysinfo/Makefile index f5d570a..03c3578 100644 --- a/usr.sbin/dpt/dpt_sysinfo/Makefile +++ b/usr.sbin/dpt/dpt_sysinfo/Makefile @@ -1,10 +1,10 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 -# $Id: Makefile,v 1.1 1998/01/22 23:32:27 ShimonR Exp ShimonR $ +# $Id: Makefile,v 1.1 1998/01/26 06:20:47 julian Exp $ PROG= dpt_sysinfo SRCS= dpt_sysinfo.c -CFLAGS+=-Wall -I../../../sys -I/usr/src/sys +CFLAGS+=-Wall -I${.CURDIR}/../../../sys BINMODE=500 BINOWN= root MAN8= dpt_sysinfo.8 diff --git a/usr.sbin/dpt/dpt_sysinfo/dpt_sysinfo.c b/usr.sbin/dpt/dpt_sysinfo/dpt_sysinfo.c index 13cfef7..1e6ab14 100644 --- a/usr.sbin/dpt/dpt_sysinfo/dpt_sysinfo.c +++ b/usr.sbin/dpt/dpt_sysinfo/dpt_sysinfo.c @@ -30,7 +30,7 @@ /* dpt_ctlinfo.c: Dunp a DPT HBA Information Block */ -#ident "$Id: dpt_ctlinfo.c,v 1.1 1998/01/22 23:32:27 ShimonR Exp ShimonR $" +#ident "$Id: dpt_sysinfo.c,v 1.1 1998/01/26 06:20:48 julian Exp $" #include <fcntl.h> #include <stdio.h> @@ -73,7 +73,7 @@ main(int argc, char **argv, char **argp) pass_thru.command_buffer = (u_int8_t *)&sysinfo; if ( (result = ioctl(fd, DPT_IOCTL_SEND, &pass_thru)) != 0 ) { - (void)fprintf(stderr, "%s ERROR: Failed to send IOCTL %x - %s\n", + (void)fprintf(stderr, "%s ERROR: Failed to send IOCTL %lx - %s\n", argv[0], DPT_IOCTL_SEND, strerror(errno)); exit(1); |