From d79d42c40b7452eb85f454ebafabcb7d99539551 Mon Sep 17 00:00:00 2001 From: Simon Schubert Date: Thu, 27 Jul 2006 00:41:10 +0000 Subject: [PATCH] Use %zd for size_t printf()s --- usr.bin/make/util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/make/util.c b/usr.bin/make/util.c index 9da2c51e77..6c3f7c9b80 100644 --- a/usr.bin/make/util.c +++ b/usr.bin/make/util.c @@ -37,7 +37,7 @@ * SUCH DAMAGE. * * $FreeBSD: src/usr.bin/make/util.c,v 1.16 2005/02/04 13:23:39 harti Exp $ - * $DragonFly: src/usr.bin/make/util.c,v 1.24 2005/07/13 20:40:52 okumoto Exp $ + * $DragonFly: src/usr.bin/make/util.c,v 1.25 2006/07/27 00:41:10 corecode Exp $ */ /*- @@ -229,7 +229,7 @@ emalloc(size_t size) void *p; if ((p = malloc(size)) == NULL) - err(2, "malloc(%d)", size); + err(2, "malloc(%zd)", size); return (p); } @@ -257,7 +257,7 @@ erealloc(void *ptr, size_t size) char *p; if ((p = realloc(ptr, size)) == NULL) - err(2, "realloc(%d)", size); + err(2, "realloc(%zd)", size); return (p); } -- 2.11.4.GIT