You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.2 KiB
40 lines
1.2 KiB
autofs-5.0.9 - fix mistake in assignment |
|
|
|
From: Ian Kent <ikent@redhat.com> |
|
|
|
Fix an obvious mistake in an accumulation assignment. |
|
--- |
|
CHANGELOG | 1 + |
|
lib/mounts.c | 4 ++-- |
|
2 files changed, 3 insertions(+), 2 deletions(-) |
|
|
|
--- autofs-5.0.7.orig/CHANGELOG |
|
+++ autofs-5.0.7/CHANGELOG |
|
@@ -103,6 +103,7 @@ |
|
- fixes for samples/auto.master. |
|
- fix variable substitution description. |
|
- fix incorrect append options description in README.v5-release. |
|
+- fix mistake in assignment. |
|
|
|
25/07/2012 autofs-5.0.7 |
|
======================= |
|
--- autofs-5.0.7.orig/lib/mounts.c |
|
+++ autofs-5.0.7/lib/mounts.c |
|
@@ -1932,7 +1932,7 @@ int clean_stale_multi_triggers(struct au |
|
/* Check for and umount stale subtree offsets */ |
|
oe_base = oe->key + strlen(root); |
|
ret = clean_stale_multi_triggers(ap, oe, root, oe_base); |
|
- left =+ ret; |
|
+ left += ret; |
|
if (ret) |
|
continue; |
|
|
|
@@ -1977,7 +1977,7 @@ int clean_stale_multi_triggers(struct au |
|
key = strdup(oe->key); |
|
if (!key) { |
|
char *estr = strerror_r(errno, buf, MAX_ERR_BUF); |
|
- error(ap->logopt, "malloc: %s", estr); |
|
+ error(ap->logopt, "malloc: %s", estr); |
|
left++; |
|
continue; |
|
}
|
|
|