summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dpt/dpt_softc/dpt_softc.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/dpt/dpt_softc/dpt_softc.c')
-rw-r--r--usr.sbin/dpt/dpt_softc/dpt_softc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dpt/dpt_softc/dpt_softc.c b/usr.sbin/dpt/dpt_softc/dpt_softc.c
index 6f1726f..4564791 100644
--- a/usr.sbin/dpt/dpt_softc/dpt_softc.c
+++ b/usr.sbin/dpt/dpt_softc/dpt_softc.c
@@ -30,7 +30,7 @@
/* dpt_softc.c: Dunp a DPT control structure */
-#ident "$Id: dpt_softc.c,v 1.7 1998/01/22 21:37:40 ShimonR Exp $"
+#ident "$Id: dpt_softc.c,v 1.1 1998/01/26 06:20:46 julian Exp $"
#include <stdlib.h>
#include <fcntl.h>
@@ -108,7 +108,7 @@ main(int argc, char **argv, char **argp)
}
if ( (result = ioctl(fd, DPT_IOCTL_SOFTC, &udpt)) != 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_SOFTC,
strerror(errno));
exit(2);
OpenPOWER on IntegriCloud