1550 SMF manifest find should return -1 on allocation failure
Reviewed by: Joshua M. Clulow <
[email protected]>
Reviewed by: Alexander Eremin <
[email protected]>
Reviewed by: Igor Kozhukhov <
[email protected]>
Approved by: Garrett D'Amore <
[email protected]>
--- a/usr/src/cmd/svc/common/manifest_find.c Mon May 16 07:03:03 2011 +0100
+++ b/usr/src/cmd/svc/common/manifest_find.c Mon May 16 06:23:38 2011 +0100
@@ -258,7 +258,7 @@
tsdp = get_thread_specific_data();
if (tsdp == NULL)
- return (NULL);
+ return (-1);
tsdp->tsd_flags = flags;