summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/smbmnt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/client/smbmnt.c b/source3/client/smbmnt.c
index 06dd3e5c02..6625b308c5 100644
--- a/source3/client/smbmnt.c
+++ b/source3/client/smbmnt.c
@@ -101,7 +101,8 @@ fullpath(const char *p)
}
if (realpath(p, path) == NULL) {
- fprintf(stderr,"Failed to find real path for mount point\n");
+ fprintf(stderr,"Failed to find real path for mount point %s: %s\n",
+ p, strerror(errno));
exit(1);
}
return strdup(path);