summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2007-10-09 05:43:38 +0000
committerRay Lai <ray@cvs.openbsd.org>2007-10-09 05:43:38 +0000
commit9eaa009765ee2b2f9a530a4c1ebdccb72e198244 (patch)
treea88f742605299d91bffe101c34ced20ffd6643e4 /sys/dev/pci
parent5c37afbc475c712880a343a15253d74a3bf6a7f6 (diff)
Use %zu for printing size_t values.
OK dlg.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_bge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c
index 884b4516c8f..3dde9f339a1 100644
--- a/sys/dev/pci/if_bge.c
+++ b/sys/dev/pci/if_bge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bge.c,v 1.213 2007/06/21 01:11:50 dlg Exp $ */
+/* $OpenBSD: if_bge.c,v 1.214 2007/10/09 05:43:37 ray Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -1907,7 +1907,7 @@ bge_attach(struct device *parent, struct device *self, void *aux)
if (bus_dmamem_map(sc->bge_dmatag, &seg, rseg,
sizeof(struct bge_ring_data), &kva,
BUS_DMA_NOWAIT)) {
- printf(": can't map dma buffers (%d bytes)\n",
+ printf(": can't map dma buffers (%zu bytes)\n",
sizeof(struct bge_ring_data));
goto fail_2;
}