diff options
author | Stefan Fritsch <sf@cvs.openbsd.org> | 2013-10-01 20:06:04 +0000 |
---|---|---|
committer | Stefan Fritsch <sf@cvs.openbsd.org> | 2013-10-01 20:06:04 +0000 |
commit | 8df653d188782d1d8cd2094e2536882b1f060801 (patch) | |
tree | 7e9167ebaa037e7b509c3c98ff6492433311e158 /sys/dev/pci/if_tl.c | |
parent | ba7fbfcdbf1c89cb49aa02de612a679f55b93140 (diff) |
Use %z* for size_t
while there, fix a few %d into %u
Diffstat (limited to 'sys/dev/pci/if_tl.c')
-rw-r--r-- | sys/dev/pci/if_tl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_tl.c b/sys/dev/pci/if_tl.c index 8c916a83058..02941a31c26 100644 --- a/sys/dev/pci/if_tl.c +++ b/sys/dev/pci/if_tl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_tl.c,v 1.54 2013/08/07 01:06:38 bluhm Exp $ */ +/* $OpenBSD: if_tl.c,v 1.55 2013/10/01 20:06:01 sf Exp $ */ /* * Copyright (c) 1997, 1998 @@ -2051,7 +2051,7 @@ tl_attach(parent, self, aux) } if (bus_dmamem_map(sc->sc_dmat, &seg, rseg, sizeof(struct tl_list_data), &kva, BUS_DMA_NOWAIT)) { - printf("%s: can't map dma buffers (%d bytes)\n", + printf("%s: can't map dma buffers (%zd bytes)\n", sc->sc_dev.dv_xname, sizeof(struct tl_list_data)); bus_dmamem_free(sc->sc_dmat, &seg, rseg); return; |