changeset 13368:7a14691acba0

950 svcadm error message on configd bind failure is useless Reviewed by: Eric Schrock <eric.schrock@delphix.com> Reviewed by: Albert Lee <trisk@opensolaris.org> Reviewed by: Garrett D'Amore <garrett@nexenta.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
author Richard Lowe <richlowe@richlowe.net>
date Wed, 27 Apr 2011 17:08:10 -0400
parents 4844172c07f8
children e294a7201085
files usr/src/cmd/svc/svcadm/svcadm.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/cmd/svc/svcadm/svcadm.c	Fri Feb 11 13:41:27 2011 -0800
+++ b/usr/src/cmd/svc/svcadm/svcadm.c	Wed Apr 27 17:08:10 2011 -0400
@@ -2136,7 +2136,8 @@
 	}
 
 	if (scf_handle_bind(h) == -1)
-		uu_die(gettext("Couldn't bind to svc.configd.\n"));
+		uu_die(gettext("Couldn't bind to configuration repository: "
+		    "%s.\n"), scf_strerror(scf_error()));
 
 	if (optind >= argc)
 		usage();