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

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