summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dpt/dpt_sysinfo/dpt_sysinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/dpt/dpt_sysinfo/dpt_sysinfo.c')
-rw-r--r--usr.sbin/dpt/dpt_sysinfo/dpt_sysinfo.c4
1 files changed, 2 insertions, 2 deletions
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);
OpenPOWER on IntegriCloud