diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-01-14 19:40:00 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-01-14 19:40:00 +0000 |
commit | 7abba623aff3043c068d6a97002b99dc16885fe3 (patch) | |
tree | 11c81b3ea724721cfdcbebffcc70334bf109c2b7 /sbin/scsi/scsi.c | |
parent | 145b8b32372a650932f02d6f5821a1bee1317bcd (diff) |
Fix printf format string. ok deraadt@
Diffstat (limited to 'sbin/scsi/scsi.c')
-rw-r--r-- | sbin/scsi/scsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/scsi/scsi.c b/sbin/scsi/scsi.c index b215fe48d2f..5394cc3473f 100644 --- a/sbin/scsi/scsi.c +++ b/sbin/scsi/scsi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scsi.c,v 1.14 2003/07/23 23:10:23 deraadt Exp $ */ +/* $OpenBSD: scsi.c,v 1.15 2004/01/14 19:39:59 otto Exp $ */ /* $FreeBSD: scsi.c,v 1.11 1996/04/06 11:00:28 joerg Exp $ */ /* @@ -404,7 +404,7 @@ do_cmd(int fd, char *fmt, int argc, char **argv) if (amount < 0) err(errno, "write"); else if (amount == 0) - fprintf(stderr, "Warning: wrote only %u bytes out of %u.\n", + fprintf(stderr, "Warning: wrote only %lu bytes out of %lu.\n", scsireq->datalen - count, scsireq->datalen); |