summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2004-01-14 19:39:59 +0000
committerotto <otto@openbsd.org>2004-01-14 19:39:59 +0000
commit6c9fc84dca1c49d97978bffdfdb9a0b64b199538 (patch)
tree41dd6421860631bb9d4f05548b2d9c1aade0a774
parentSync with mvme88k struct trapframe changes. (diff)
downloadwireguard-openbsd-6c9fc84dca1c49d97978bffdfdb9a0b64b199538.tar.xz
wireguard-openbsd-6c9fc84dca1c49d97978bffdfdb9a0b64b199538.zip
Fix printf format string. ok deraadt@
-rw-r--r--sbin/scsi/scsi.c4
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);