summaryrefslogtreecommitdiff
path: root/server/process.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2008-10-09 08:30:10 -0400
committerSimo Sorce <idra@samba.org>2008-10-09 08:30:10 -0400
commitf9e85b312049affb38a180d29c69d36ac0ac4048 (patch)
tree3bc77785e1e4871661cb9d8cb90881ac315f7416 /server/process.c
parentfb263dd17c3fc00d9e5e8f366d60adbf5e76edf0 (diff)
downloadsssd-f9e85b312049affb38a180d29c69d36ac0ac4048.tar.gz
sssd-f9e85b312049affb38a180d29c69d36ac0ac4048.tar.bz2
sssd-f9e85b312049affb38a180d29c69d36ac0ac4048.zip
Use classic errno instead of inventing our own, it's broad enough fro atm.
Diffstat (limited to 'server/process.c')
-rw-r--r--server/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/process.c b/server/process.c
index 3d56adb2..e2600a5d 100644
--- a/server/process.c
+++ b/server/process.c
@@ -55,11 +55,11 @@ int process_new_task(struct event_context *ev,
int res;
/* parent */
- res = RES_SUCCESS;
+ res = EOK;
if (pid == -1) {
/* error */
- res = RES_ERROR;
+ res = ECHILD;
}
/* ... go back to the event loop */