Revision
23473
Author
zarzycki@apple.com
Date
2007-12-19 16:43:45 -0800 (Wed, 19 Dec 2007)

Log Message

Misc.

Modified Paths

Diff

Modified: trunk/launchd/src/launchd_core_logic.c (23472 => 23473)


--- trunk/launchd/src/launchd_core_logic.c	2007-12-19 22:29:16 UTC (rev 23472)
+++ trunk/launchd/src/launchd_core_logic.c	2007-12-20 00:43:45 UTC (rev 23473)
@@ -1069,6 +1069,7 @@
 
 	if (len != sizeof(kp)) {
 		jobmgr_log(jm, LOG_DEBUG, "Tried to create an anonymous job for nonexistent PID: %u", anonpid);
+		errno = ESRCH;
 		return NULL;
 	}