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/ic | |
parent | fd2e525180d09afc20fd20316714687a98e7dadf (diff) |
%zu is not meant for size_t in the kernel. Change to %lu.
OK miod
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/sili.c | 4 |
1 files changed, 2 insertions, 2 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, |