From 7abba623aff3043c068d6a97002b99dc16885fe3 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Wed, 14 Jan 2004 19:40:00 +0000 Subject: Fix printf format string. ok deraadt@ --- sbin/scsi/scsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/scsi/scsi.c') 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); -- cgit v1.2.3