Blame SOURCES/procps-ng-3.3.10-free-uninitialized-errno.patch

1699ac
diff -Naur procps-ng-3.3.10.orig/free.c procps-ng-3.3.10/free.c
1699ac
--- procps-ng-3.3.10.orig/free.c	2015-12-01 17:23:26.702968686 +0100
1699ac
+++ procps-ng-3.3.10/free.c	2015-12-01 17:22:34.590529390 +0100
1699ac
@@ -262,6 +262,7 @@
1699ac
 			break;
1699ac
 		case 's':
1699ac
 			flags |= FREE_REPEAT;
1699ac
+			errno = 0;
1699ac
 			args.repeat_interval = (1000000 * strtof(optarg, &endptr));
1699ac
 			if (errno || optarg == endptr || (endptr && *endptr))
1699ac
 				xerrx(EXIT_FAILURE, _("seconds argument `%s' failed"), optarg);