summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/username.c2
1 files changed, 1 insertions, 1 deletions
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;
}