summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2000-09-28 21:51:29 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2000-09-28 21:51:29 (GMT)
commit2b610e708265aeee44291d6036ba22e3aa38bb18 (patch)
treea0e6602942bc354c8fdac5a042d41a9b8002951c
parent751c78c65e41aae50a526c548a756ded6b9d7bfb (diff)
downloadautofs3-2b610e708265aeee44291d6036ba22e3aa38bb18.zip
autofs3-2b610e708265aeee44291d6036ba22e3aa38bb18.tar.gz
autofs3-2b610e708265aeee44291d6036ba22e3aa38bb18.tar.bz2
autofs3-2b610e708265aeee44291d6036ba22e3aa38bb18.tar.xz
Bug fix for multimount module.
-rw-r--r--NEWS2
-rw-r--r--modules/lookup_multi.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index b8e1315..a18b910 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,8 @@ Since autofs-3.1.5:
* Fix small race condition involving errno and SIGCHLD.
* Changed "bind" mounts to support the new syntax (requires
linux-2.4.0-test? and util-linux 2.10o).
+* Fixed bug in the multimount module which would cause "missing module
+ name" errors.
Since autofs-3.1.4:
-------------------
diff --git a/modules/lookup_multi.c b/modules/lookup_multi.c
index 1d17408..4fcbf6d 100644
--- a/modules/lookup_multi.c
+++ b/modules/lookup_multi.c
@@ -4,7 +4,7 @@
* lookup_multi.c - module for Linux automount to seek multiple lookup
* methods in succession
*
- * Copyright 1999 Transmeta Corporation - All Rights Reserved
+ * Copyright 1999-2000 Transmeta Corporation - All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -78,6 +78,7 @@ int lookup_init(const char *my_mapfmt, int argc, const char * const *argv,
i++; j = 0;
} else {
ctxt->m[i].argc++;
+ j++;
}
}