diff options
author | Gerald Carter <jerry@samba.org> | 2005-02-07 15:35:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:55:35 -0500 |
commit | 3842d6c205b8ec8606d4086a59f9fe7a5d5b6435 (patch) | |
tree | 5742d9abdc988d7afbcb9e695d89576c037850ab | |
parent | e98f56373bca0efc200bc3a4263477e1790a746b (diff) | |
download | samba-3842d6c205b8ec8606d4086a59f9fe7a5d5b6435.tar.gz samba-3842d6c205b8ec8606d4086a59f9fe7a5d5b6435.tar.bz2 samba-3842d6c205b8ec8606d4086a59f9fe7a5d5b6435.zip |
r5263: bug 2249: patch from Manuel Baena <mbaena@lcc.uma.es> to print error message in fullpath()
(This used to be commit 0f66db48b09adc5b78a10e5023604c333684cbb3)
-rw-r--r-- | source3/client/smbmnt.c | 3 |
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); |