projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10af627
)
Fix printf() format specifier.
author
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 29 Sep 2004 15:51:13 +0000
(15:51 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 29 Sep 2004 15:51:13 +0000
(15:51 +0000)
src/threads/palloc.c
patch
|
blob
|
history
diff --git
a/src/threads/palloc.c
b/src/threads/palloc.c
index cec2bacb619575b77edcaa8b4c40634a879c5256..c99abe35daaafb66568bce5b24256be1e02a6660 100644
(file)
--- 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);