summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/lib/username.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/username.c b/source/lib/username.c
index 8971b5d0eea..e465cfbf226 100644
--- a/source/lib/username.c
+++ b/source/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;
}