Blame SOURCES/autofs-5.0.9-fix-mistake-in-assignment.patch

304803
autofs-5.0.9 - fix mistake in assignment
304803
304803
From: Ian Kent <ikent@redhat.com>
304803
304803
Fix an obvious mistake in an accumulation assignment.
304803
---
304803
 CHANGELOG    |    1 +
304803
 lib/mounts.c |    4 ++--
304803
 2 files changed, 3 insertions(+), 2 deletions(-)
304803
304803
--- autofs-5.0.7.orig/CHANGELOG
304803
+++ autofs-5.0.7/CHANGELOG
304803
@@ -103,6 +103,7 @@
304803
 - fixes for samples/auto.master.
304803
 - fix variable substitution description.
304803
 - fix incorrect append options description in README.v5-release.
304803
+- fix mistake in assignment.
304803
 
304803
 25/07/2012 autofs-5.0.7
304803
 =======================
304803
--- autofs-5.0.7.orig/lib/mounts.c
304803
+++ autofs-5.0.7/lib/mounts.c
304803
@@ -1932,7 +1932,7 @@ int clean_stale_multi_triggers(struct au
304803
 		/* Check for and umount stale subtree offsets */
304803
 		oe_base = oe->key + strlen(root);
304803
 		ret = clean_stale_multi_triggers(ap, oe, root, oe_base);
304803
-		left =+ ret;
304803
+		left += ret;
304803
 		if (ret)
304803
 			continue;
304803
 
304803
@@ -1977,7 +1977,7 @@ int clean_stale_multi_triggers(struct au
304803
 		key = strdup(oe->key);
304803
 		if (!key) {
304803
 	                char *estr = strerror_r(errno, buf, MAX_ERR_BUF);
304803
-        	        error(ap->logopt, "malloc: %s", estr);
304803
+		        error(ap->logopt, "malloc: %s", estr);
304803
 			left++;
304803
 			continue;
304803
 		}