diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2007-10-09 05:43:38 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2007-10-09 05:43:38 +0000 |
commit | 9eaa009765ee2b2f9a530a4c1ebdccb72e198244 (patch) | |
tree | a88f742605299d91bffe101c34ced20ffd6643e4 /sys/dev/ic | |
parent | 5c37afbc475c712880a343a15253d74a3bf6a7f6 (diff) |
Use %zu for printing size_t values.
OK dlg.
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 78bb5491897..208c12a9334 100644 --- a/sys/dev/ic/sili.c +++ b/sys/dev/ic/sili.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sili.c,v 1.34 2007/10/01 04:03:51 krw Exp $ */ +/* $OpenBSD: sili.c,v 1.35 2007/10/09 05:43:37 ray Exp $ */ /* * Copyright (c) 2007 David Gwynne <dlg@openbsd.org> @@ -677,7 +677,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 %d is not 64 or 128", buflen); + panic("sili_pcopy: buflen of %zu is not 64 or 128", buflen); #endif bus_space_write_raw_region_4(sp->sp_sc->sc_iot_port, sp->sp_ioh, r, |