From 8df653d188782d1d8cd2094e2536882b1f060801 Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Tue, 1 Oct 2013 20:06:04 +0000 Subject: Use %z* for size_t while there, fix a few %d into %u --- sys/dev/pci/piixpm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci/piixpm.c') 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 @@ -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); -- cgit v1.2.3