From fd4c525d5832d80fc7684255f94c606bb83c0e28 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 6 Apr 2001 17:13:16 +0000 Subject: If we can't open the username map file, at least print the strerror. Jeremy. (This used to be commit abf436153a476b7c5a7bff31f1e657b8f53b9dee) --- source3/lib/username.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/lib/username.c b/source3/lib/username.c index 9f9fad048d..3c99fc33d5 100644 --- a/source3/lib/username.c +++ b/source3/lib/username.c @@ -84,7 +84,7 @@ BOOL map_username(char *user) f = sys_fopen(mapfile,"r"); if (!f) { - DEBUG(0,("can't open username map %s\n",mapfile)); + DEBUG(0,("can't open username map %s. Error %s\n",mapfile, strerror(errno) )); return False; } -- cgit