r5263: bug 2249: patch from Manuel Baena <mbaena@lcc.uma.es> to print error message...
authorGerald Carter <jerry@samba.org>
Mon, 7 Feb 2005 15:35:42 +0000 (15:35 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:55:35 +0000 (10:55 -0500)
source/client/smbmnt.c

index 06dd3e5c02320c29326853d37eb0b7abc7663b16..6625b308c5efde62aa673d77b9ea42c8524767f0 100644 (file)
@@ -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);