summaryrefslogtreecommitdiff
path: root/sys/dev/pci/piixpm.c
diff options
context:
space:
mode:
authorStefan Fritsch <sf@cvs.openbsd.org>2013-10-01 20:06:04 +0000
committerStefan Fritsch <sf@cvs.openbsd.org>2013-10-01 20:06:04 +0000
commit8df653d188782d1d8cd2094e2536882b1f060801 (patch)
tree7e9167ebaa037e7b509c3c98ff6492433311e158 /sys/dev/pci/piixpm.c
parentba7fbfcdbf1c89cb49aa02de612a679f55b93140 (diff)
Use %z* for size_t
while there, fix a few %d into %u
Diffstat (limited to 'sys/dev/pci/piixpm.c')
-rw-r--r--sys/dev/pci/piixpm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/piixpm.c b/sys/dev/pci/piixpm.c
index 782c1acc818..86fb0fe184a 100644
--- a/sys/dev/pci/piixpm.c
+++ b/sys/dev/pci/piixpm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: piixpm.c,v 1.38 2012/10/05 10:51:28 haesbaert Exp $ */
+/* $OpenBSD: piixpm.c,v 1.39 2013/10/01 20:06:02 sf Exp $ */
/*
* Copyright (c) 2005, 2006 Alexander Yurchenko <grange@openbsd.org>
@@ -359,7 +359,7 @@ timeout:
/*
* Transfer timeout. Kill the transaction and clear status bits.
*/
- printf("%s: exec: op %d, addr 0x%02x, cmdlen %d, len %d, "
+ printf("%s: exec: op %d, addr 0x%02x, cmdlen %zu, len %zu, "
"flags 0x%02x: timeout, status 0x%b\n",
sc->sc_dev.dv_xname, op, addr, cmdlen, len, flags,
st, PIIX_SMB_HS_BITS);