summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/cmd/svc/common/manifest_find.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/svc/common/manifest_find.c b/usr/src/cmd/svc/common/manifest_find.c
index 8933fb5807..900717c33d 100644
--- a/usr/src/cmd/svc/common/manifest_find.c
+++ b/usr/src/cmd/svc/common/manifest_find.c
@@ -258,7 +258,7 @@ find_manifests(scf_handle_t *hndl, const char *dir,
tsdp = get_thread_specific_data();
if (tsdp == NULL)
- return (NULL);
+ return (-1);
tsdp->tsd_flags = flags;