From 3842d6c205b8ec8606d4086a59f9fe7a5d5b6435 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 7 Feb 2005 15:35:42 +0000 Subject: r5263: bug 2249: patch from Manuel Baena to print error message in fullpath() (This used to be commit 0f66db48b09adc5b78a10e5023604c333684cbb3) --- source3/client/smbmnt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/client') 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); -- cgit