projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a97142b
)
Improve error message.
author
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 30 Aug 2004 04:49:04 +0000
(
04:49
+0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 30 Aug 2004 04:49:04 +0000
(
04:49
+0000)
src/threads/malloc.c
patch
|
blob
|
history
diff --git
a/src/threads/malloc.c
b/src/threads/malloc.c
index 263651dc6adc28dddf7dc6940394c8b2d90566ea..8da4c4e4b0aaf2319f0e885859698daed1222671 100644
(file)
--- a/
src/threads/malloc.c
+++ b/
src/threads/malloc.c
@@
-71,7
+71,7
@@
malloc (size_t size)
break;
if (d == descs + desc_cnt)
{
- printk ("
can't malloc %zu byte object
\n", size);
+ printk ("
malloc: %zu byte allocation too big
\n", size);
return NULL;
}