diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/sili.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/if_bge.c | 4 | ||||
-rw-r--r-- | sys/kern/kern_sig.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ic/sili.c b/sys/dev/ic/sili.c index 0a85f7cb937..818dec6fcf3 100644 --- a/sys/dev/ic/sili.c +++ b/sys/dev/ic/sili.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sili.c,v 1.42 2009/02/16 21:19:07 miod Exp $ */ +/* $OpenBSD: sili.c,v 1.43 2009/06/05 03:57:32 ray Exp $ */ /* * Copyright (c) 2007 David Gwynne <dlg@openbsd.org> @@ -698,7 +698,7 @@ sili_post_direct(struct sili_port *sp, u_int slot, void *buf, size_t buflen) #ifdef DIAGNOSTIC if (buflen != 64 && buflen != 128) - panic("sili_pcopy: buflen of %zu is not 64 or 128", buflen); + panic("sili_pcopy: buflen of %lu is not 64 or 128", buflen); #endif bus_space_write_raw_region_4(sp->sp_sc->sc_iot_port, sp->sp_ioh, r, 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; } diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index 15053a45b20..f2703de2e4f 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_sig.c,v 1.103 2009/03/05 19:52:24 kettenis Exp $ */ +/* $OpenBSD: kern_sig.c,v 1.104 2009/06/05 03:57:32 ray Exp $ */ /* $NetBSD: kern_sig.c,v 1.54 1996/04/22 01:38:32 christos Exp $ */ /* @@ -1522,7 +1522,7 @@ coredump_write(void *cookie, enum uio_seg segflg, const void *data, size_t len) io->io_offset, segflg, IO_NODELOCKED|IO_UNIT, io->io_cred, NULL, io->io_proc); if (error) { - printf("pid %d (%s): %s write of %zu@%p at %lld failed: %d\n", + printf("pid %d (%s): %s write of %lu@%p at %lld failed: %d\n", io->io_proc->p_pid, io->io_proc->p_comm, segflg == UIO_USERSPACE ? "user" : "system", len, data, (long long) io->io_offset, error); |