diff options
Diffstat (limited to 'src/kernel/ipc/object.c')
-rw-r--r-- | src/kernel/ipc/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/ipc/object.c b/src/kernel/ipc/object.c index ea59d28..e381c89 100644 --- a/src/kernel/ipc/object.c +++ b/src/kernel/ipc/object.c @@ -107,7 +107,7 @@ int object_create() { int object_owned(int id) { struct object *obj = objdesc_read(current_thread->process, id); - if (obj == 0) return -1; + if (obj == 0) return -10; if (obj->owner == current_thread->process) return 1; return 0; } |