%zu for size_t, not %zd

This commit is contained in:
jmcneill 2011-02-08 23:28:24 +00:00
parent 3f11f2aa84
commit 15ee4c2816
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: splash.c,v 1.10 2011/02/07 02:57:49 jmcneill Exp $ */
/* $NetBSD: splash.c,v 1.11 2011/02/08 23:28:24 jmcneill Exp $ */
/*-
* Copyright (c) 2006 Jared D. McNeill <jmcneill@invisible.ca>
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: splash.c,v 1.10 2011/02/07 02:57:49 jmcneill Exp $");
__KERNEL_RCSID(0, "$NetBSD: splash.c,v 1.11 2011/02/08 23:28:24 jmcneill Exp $");
#include "opt_splash.h"
@ -151,7 +151,7 @@ splash_setimage(const void *imgdata, size_t imgdatalen)
return EBUSY;
}
aprint_verbose("%s: splash image @ %p, %zd bytes\n",
aprint_verbose("%s: splash image @ %p, %zu bytes\n",
__func__, imgdata, imgdatalen);
splash_image.data = imgdata;
splash_image.datalen = imgdatalen;