summaryrefslogtreecommitdiff
path: root/sys/scsi
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2005-05-28 23:26:10 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2005-05-28 23:26:10 +0000
commit7f81cf17e646176694e92b49e282024f3ad16413 (patch)
treec5ba6912b6e9783f477fb5fc51084bcad8fd725e /sys/scsi
parentfa6b1d5c4a0771ee983f77900651f275c3e0c97a (diff)
snprintf returns int not size_t. Thank you lint.
Diffstat (limited to 'sys/scsi')
-rw-r--r--sys/scsi/scsi_base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/scsi_base.c b/sys/scsi/scsi_base.c
index 53d6379c8f0..27d4b74fddc 100644
--- a/sys/scsi/scsi_base.c
+++ b/sys/scsi/scsi_base.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsi_base.c,v 1.71 2005/05/28 06:16:33 krw Exp $ */
+/* $OpenBSD: scsi_base.c,v 1.72 2005/05/28 23:26:09 krw Exp $ */
/* $NetBSD: scsi_base.c,v 1.43 1997/04/02 02:29:36 mycroft Exp $ */
/*
@@ -1720,7 +1720,7 @@ scsi_decode_sense(sense, flag)
static char rqsbuf[132];
u_int16_t count;
u_int8_t skey, spec_1;
- size_t len;
+ int len;
bzero(rqsbuf, sizeof rqsbuf);