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

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