diff options
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 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; } |