svn commit: samba r5263 - in branches/SAMBA_3_0/source/client: .

jerry at samba.org jerry at samba.org
Mon Feb 7 15:35:42 GMT 2005


Author: jerry
Date: 2005-02-07 15:35:42 +0000 (Mon, 07 Feb 2005)
New Revision: 5263

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5263

Log:
bug 2249: patch from Manuel Baena <mbaena at lcc.uma.es> to print error message in fullpath()
Modified:
   branches/SAMBA_3_0/source/client/smbmnt.c


Changeset:
Modified: branches/SAMBA_3_0/source/client/smbmnt.c
===================================================================
--- branches/SAMBA_3_0/source/client/smbmnt.c	2005-02-07 14:14:44 UTC (rev 5262)
+++ branches/SAMBA_3_0/source/client/smbmnt.c	2005-02-07 15:35:42 UTC (rev 5263)
@@ -101,7 +101,8 @@
 	}
 
         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);



More information about the samba-cvs mailing list