summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1999-02-07 00:14:25 +0000
committerderaadt <deraadt@openbsd.org>1999-02-07 00:14:25 +0000
commit5338edd04341e50f84be89a7ceb07d04a5637cb8 (patch)
tree76ab6f3a12947121c0ac06ff5be3a240db4761ef
parentUse bitwise operations to extract high and low words from the quad (diff)
downloadwireguard-openbsd-5338edd04341e50f84be89a7ceb07d04a5637cb8.tar.xz
wireguard-openbsd-5338edd04341e50f84be89a7ceb07d04a5637cb8.zip
print INFO FIELD as unsigned
-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 2f0a8a24dda..49a4af07c7d 100644
--- a/sys/scsi/scsi_base.c
+++ b/sys/scsi/scsi_base.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsi_base.c,v 1.22 1998/12/19 01:32:26 deraadt Exp $ */
+/* $OpenBSD: scsi_base.c,v 1.23 1999/02/07 00:14:25 deraadt Exp $ */
/* $NetBSD: scsi_base.c,v 1.43 1997/04/02 02:29:36 mycroft Exp $ */
/*
@@ -1053,7 +1053,7 @@ scsi_print_sense(xs, verbosity)
*/
info = _4btol(&s[3]);
if (info)
- printf(" INFO FIELD: %d\n", info);
+ printf(" INFO FIELD: %u\n", info);
/*
* Now we check additional length to see whether there is