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

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