--- src/usr.bin/make/util.c 2005/07/13 20:40:52 1.24 +++ src/usr.bin/make/util.c 2006/07/27 00:41:10 1.25 @@ -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); }