Revision
23332
Author
zarzycki@apple.com
Date
2007-08-13 16:05:27 -0700 (Mon, 13 Aug 2007)

Log Message

Correctness.

Modified Paths

Diff

Modified: trunk/launchd/src/launchd_runtime.c (23331 => 23332)


--- trunk/launchd/src/launchd_runtime.c	2007-08-07 22:13:10 UTC (rev 23331)
+++ trunk/launchd/src/launchd_runtime.c	2007-08-13 23:05:27 UTC (rev 23332)
@@ -731,6 +731,8 @@
 		if ((flags & EV_ADD) && kev.data) {
 			runtime_syslog(LOG_ERR, "Bug (5321044): See next line.");
 			log_kevent_struct(LOG_ERR, &kev, 0);
+			errno = kev.data;
+			return -1;
 		}
 	}
 #endif