diff options
Diffstat (limited to 'usr.sbin/dpt/dpt_led/dpt_led.c')
-rw-r--r-- | usr.sbin/dpt/dpt_led/dpt_led.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/dpt/dpt_led/dpt_led.c b/usr.sbin/dpt/dpt_led/dpt_led.c index 70480e4..9304950 100644 --- a/usr.sbin/dpt/dpt_led/dpt_led.c +++ b/usr.sbin/dpt/dpt_led/dpt_led.c @@ -30,7 +30,7 @@ /* dpt_led.c: Show the blinking LED array status of a DPT HBAs */ -#ident "$Id: dpt_led.c,v 1.1 1998/01/23 02:45:53 ShimonR Exp ShimonR $" +#ident "$Id: dpt_led.c,v 1.1 1998/01/26 06:26:41 julian Exp $" #include <fcntl.h> #include <stdio.h> @@ -69,9 +69,10 @@ main(int argc, char **argv, char **argp) pass_thru.command_buffer = (u_int8_t *)&led; if ( (result = ioctl(fd, DPT_IOCTL_SEND, &pass_thru)) != 0 ) { - (void)fprintf(stderr, "%s ERROR: Failed to send IOCTL %x - %s\n", - argv[0], DPT_IOCTL_SEND, - strerror(errno)); + (void)fprintf(stderr, "%s ERROR: Failed to send IOCTL %lx " + "- %s\n", + argv[0], DPT_IOCTL_SEND, + strerror(errno)); exit(1); } |