summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-04-06 17:13:16 +0000
committerJeremy Allison <jra@samba.org>2001-04-06 17:13:16 +0000
commitabf436153a476b7c5a7bff31f1e657b8f53b9dee (patch)
tree650a277da779b7db6596475546c11a43c67499b4
parentcb66e78c181878809e367f4f03f3b4c31cb4b8e1 (diff)
downloadsamba-abf436153a476b7c5a7bff31f1e657b8f53b9dee.tar.gz
samba-abf436153a476b7c5a7bff31f1e657b8f53b9dee.tar.xz
samba-abf436153a476b7c5a7bff31f1e657b8f53b9dee.zip
If we can't open the username map file, at least print the strerror.
Jeremy.
-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 9f9fad048da..3c99fc33d56 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;
}