Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > c56375966e6b0fac3dae4f3b23902319 > files > 3

rpcbind-0.1.4-8mdv2008.0.src.rpm

--- rpcbind-0.1.4/src/warmstart.c~	2007-09-19 14:39:37.000000000 -0300
+++ rpcbind-0.1.4/src/warmstart.c	2007-09-19 14:46:52.000000000 -0300
@@ -115,7 +115,7 @@
 
 	if (stat(filename, &sbuf) != 0) {
 		fprintf(stderr,
-		"rpcbind: cannot stat file = %s for reading\n", filename);
+		"rpcbind: cannot stat file = %s for reading: %m\n", filename);
 		goto error;
 	}
 
@@ -139,7 +139,7 @@
 	fp = fopen(filename, "r");
 	if (fp == NULL) {
 		fprintf(stderr,
-		"rpcbind: cannot open file = %s for reading\n", filename);
+		"rpcbind: cannot open file = %s for reading: %m\n", filename);
 		goto error;
 	}
 	xdrstdio_create(&xdrs, fp, XDR_DECODE);