From 53921b2c1ad34b8da87fab0769666214c9aab0eb Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 11 Aug 2005 21:02:32 +0000 Subject: [PATCH] fix error message --- servers/slapd/slapcommon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); } -- 2.39.5