summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
Diffstat (limited to 'ipc')
-rw-r--r--ipc/ipc_entry.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ipc/ipc_entry.c b/ipc/ipc_entry.c
index 90844118..631de424 100644
--- a/ipc/ipc_entry.c
+++ b/ipc/ipc_entry.c
@@ -155,8 +155,10 @@ ipc_entry_get(space, namep, entryp)
table = space->is_table;
first_free = table->ie_next;
- if (first_free == 0)
+ if (first_free == 0) {
+ printf_once("no more room for ipc_entry_get in space %p\n", space);
return KERN_NO_SPACE;
+ }
free_entry = &table[first_free];
table->ie_next = free_entry->ie_next;
@@ -577,6 +579,7 @@ ipc_entry_grow_table(space)
if (osize == size) {
is_write_unlock(space);
+ printf_once("no more room for ipc_entry_grow_table in space %p\n", space);
return KERN_NO_SPACE;
}