From 0f66db48b09adc5b78a10e5023604c333684cbb3 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 7 Feb 2005 15:35:42 +0000 Subject: [PATCH] r5263: bug 2249: patch from Manuel Baena to print error message in fullpath() --- source/client/smbmnt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/client/smbmnt.c b/source/client/smbmnt.c index 06dd3e5c023..6625b308c5e 100644 --- a/source/client/smbmnt.c +++ b/source/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); -- 2.47.3