diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-04-23 14:34:24 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-04-23 14:34:24 +0200 |
commit | 8b649ed7b015490c31f6a61da88a9a10cc1eab5c (patch) | |
tree | 079fdcb1d903502c6726d997502a2dba4905a089 | |
parent | 4e8066a555118a5f71c9fa770dad81592b5fe2f4 (diff) |
Drop spurious warning
* ipc/ipc_entry.c (ipc_entry_get): Do not warn when ipc_entry_get returns
KERN_NO_SPACE.
-rw-r--r-- | ipc/ipc_entry.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ipc/ipc_entry.c b/ipc/ipc_entry.c index 631de42..42e8dd8 100644 --- a/ipc/ipc_entry.c +++ b/ipc/ipc_entry.c @@ -155,10 +155,8 @@ ipc_entry_get(space, namep, entryp) table = space->is_table; first_free = table->ie_next; - if (first_free == 0) { - printf_once("no more room for ipc_entry_get in space %p\n", space); + if (first_free == 0) return KERN_NO_SPACE; - } free_entry = &table[first_free]; table->ie_next = free_entry->ie_next; |