diff -Nru health-check-0.03.08/debian/changelog health-check-0.03.09/debian/changelog --- health-check-0.03.08/debian/changelog 2020-07-04 10:26:32.000000000 +0000 +++ health-check-0.03.09/debian/changelog 2020-08-03 14:33:11.000000000 +0000 @@ -1,3 +1,10 @@ +health-check (0.03.09-1) unstable; urgency=medium + + * Makefile: bump version + * net: don't throw warning messages when /proc file can't be opened + + -- Colin King Mon, 3 Aug 2020 15:33:11 +0100 + health-check (0.03.08-1) unstable; urgency=medium * Makefile: bump version diff -Nru health-check-0.03.08/Makefile health-check-0.03.09/Makefile --- health-check-0.03.08/Makefile 2020-07-04 10:27:00.000000000 +0000 +++ health-check-0.03.09/Makefile 2020-08-03 14:36:05.000000000 +0000 @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -VERSION=0.03.08 +VERSION=0.03.09 # # Codename "Where have all my cycles gone?" # diff -Nru health-check-0.03.08/net.c health-check-0.03.09/net.c --- health-check-0.03.08/net.c 2020-07-04 10:27:00.000000000 +0000 +++ health-check-0.03.09/net.c 2020-08-03 14:36:05.000000000 +0000 @@ -674,10 +674,8 @@ return -1; } - if ((fp = fopen(procfile, "r")) == NULL) { - fprintf(stderr, "Cannot open %s.\n", procfile); + if ((fp = fopen(procfile, "r")) == NULL) return -1; - } for (i = 0; fgets(buf, sizeof(buf), fp) != NULL; i++) { net_addr_info_t new_addr;