File 0025-rpcinfo-warmstat_no-warning-about-missing-file.patch of Package rpcbind.171

--- src/warmstart.c
+++ src/warmstart.c	2014/02/26 14:18:39
@@ -106,9 +106,10 @@
 		fprintf(stderr, "rpcbind: using '%s' startup file\n", filename);
 
 	if ((fp = fopen(filename, "r")) == NULL) {
-		rpcbind_log_error(
-			"Cannot open '%s' file for reading, errno %d (%s)", 
-			filename, errno, strerror(errno));
+                if (errno != ENOENT)
+			rpcbind_log_error(
+			   "Cannot open '%s' file for reading, errno %d (%s)", 
+			   filename, errno, strerror(errno));
 		goto error;
 	}
 
openSUSE Build Service is sponsored by