diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2009-06-05 03:57:33 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2009-06-05 03:57:33 +0000 |
commit | e6ea14e24e88116cbd73fd51556d24314d55a90c (patch) | |
tree | fac869c34ac43e2e75b5a9763f3286dc8b9eab89 /sys/dev/pci/if_bge.c | |
parent | fd2e525180d09afc20fd20316714687a98e7dadf (diff) |
%zu is not meant for size_t in the kernel. Change to %lu.
OK miod
Diffstat (limited to 'sys/dev/pci/if_bge.c')
-rw-r--r-- | sys/dev/pci/if_bge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index 8a55d9e9ad9..4fac83bfb51 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.271 2009/06/04 04:09:02 naddy Exp $ */ +/* $OpenBSD: if_bge.c,v 1.272 2009/06/05 03:57:32 ray Exp $ */ /* * Copyright (c) 2001 Wind River Systems @@ -2037,7 +2037,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 (%zu bytes)\n", + printf(": can't map dma buffers (%lu bytes)\n", sizeof(struct bge_ring_data)); goto fail_2; } |