From: Pierangelo Masarati Date: Thu, 11 Aug 2005 21:02:32 +0000 (+0000) Subject: fix error message X-Git-Tag: OPENLDAP_AC_BP~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=53921b2c1ad34b8da87fab0769666214c9aab0eb;p=openldap fix error message --- diff --git a/servers/slapd/slapcommon.c b/servers/slapd/slapcommon.c index 2667e2e7dc..18cc86ca9f 100644 --- a/servers/slapd/slapcommon.c +++ b/servers/slapd/slapcommon.c @@ -427,7 +427,8 @@ slap_tool_init( rc = read_config( conffile, confdir ); if ( rc != 0 ) { - fprintf( stderr, "%s: bad configuration file!\n", progname ); + fprintf( stderr, "%s: bad configuration %s!\n", + progname, confdir ? "directory" : "file" ); exit( EXIT_FAILURE ); }