From: Ben Pfaff Date: Wed, 29 Sep 2004 15:51:13 +0000 (+0000) Subject: Fix printf() format specifier. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eebee766a647d10e7cacb8060c33a45cb8e6ffd1;p=pintos-anon Fix printf() format specifier. --- 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);