Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Make PIIXPM_DEBUG work with 64-bit size_t.
details: https://anonhg.NetBSD.org/src/rev/2e1b6b3258c4
branches: trunk
changeset: 756641:2e1b6b3258c4
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Tue Jul 27 05:29:05 2010 +0000
description:
Make PIIXPM_DEBUG work with 64-bit size_t.
diffstat:
sys/dev/pci/piixpm.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7cbc215955c6 -r 2e1b6b3258c4 sys/dev/pci/piixpm.c
--- a/sys/dev/pci/piixpm.c Tue Jul 27 05:15:56 2010 +0000
+++ b/sys/dev/pci/piixpm.c Tue Jul 27 05:29:05 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: piixpm.c,v 1.32 2010/02/24 22:38:01 dyoung Exp $ */
+/* $NetBSD: piixpm.c,v 1.33 2010/07/27 05:29:05 jakllsch Exp $ */
/* $OpenBSD: piixpm.c,v 1.20 2006/02/27 08:25:02 grange Exp $ */
/*
@@ -22,7 +22,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: piixpm.c,v 1.32 2010/02/24 22:38:01 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: piixpm.c,v 1.33 2010/07/27 05:29:05 jakllsch Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -298,7 +298,7 @@
u_int8_t ctl = 0, st;
int retries;
- DPRINTF(("%s: exec: op %d, addr 0x%x, cmdlen %d, len %d, flags 0x%x\n",
+ DPRINTF(("%s: exec: op %d, addr 0x%x, cmdlen %zu, len %zu, flags 0x%x\n",
device_xname(sc->sc_dev), op, addr, cmdlen, len, flags));
/* Wait for bus to be idle */
Home |
Main Index |
Thread Index |
Old Index