diff options
author | Alexis211 <alexis211@gmail.com> | 2010-03-26 16:04:01 +0100 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2010-03-26 16:04:01 +0100 |
commit | 50152369119ffc92d7790ddcfd26f32613366ede (patch) | |
tree | e40feb305fa435e2d1bf6c60b16e7bd2c00b1c95 /src/kernel/ipc/object.c | |
parent | dbfa8cae66811247e5110e2e17f1c6ae5d1b2bcd (diff) | |
download | TCE-50152369119ffc92d7790ddcfd26f32613366ede.tar.gz TCE-50152369119ffc92d7790ddcfd26f32613366ede.zip |
IPC documented, still not tested.
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; } |