From eebee766a647d10e7cacb8060c33a45cb8e6ffd1 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 29 Sep 2004 15:51:13 +0000 Subject: [PATCH] Fix printf() format specifier. --- src/threads/palloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/threads/palloc.c b/src/threads/palloc.c index cec2bac..c99abe3 100644 --- a/src/threads/palloc.c +++ b/src/threads/palloc.c @@ -170,7 +170,7 @@ init_pool (struct pool *p, void *base, size_t page_cnt, const char *name) PANIC ("Not enough memory in %s for bitmap.", name); page_cnt -= bm_pages; - printf ("%d pages available in %s.\n", page_cnt, name); + printf ("%zu pages available in %s.\n", page_cnt, name); /* Initialize the pool. */ lock_init (&p->lock, name); -- 2.30.2