[PATCH 27/27] autofs-5.1.3 - fix log message in spawn_umount()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A log message in spawn_umount() uses mount when it should be
using umount.

Signed-off-by: Ian Kent <raven@xxxxxxxxxx>
---
 CHANGELOG      |    1 +
 daemon/spawn.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG b/CHANGELOG
index 30343332..49798a87 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -60,6 +60,7 @@ xx/xx/2017 autofs-5.1.4
 - fix memory leak in umount_amd_ext_mount().
 - fix strerror_r() parameter declaration in do program_mount().
 - fix incorrect check in validate_program_options().
+- fix log message in spawn_umount().
 
 24/05/2017 autofs-5.1.3
 =======================
diff --git a/daemon/spawn.c b/daemon/spawn.c
index 56133815..fabe577e 100644
--- a/daemon/spawn.c
+++ b/daemon/spawn.c
@@ -844,7 +844,7 @@ int spawn_umount(unsigned logopt, ...)
 			 * the mtab.
 			 */
 			if (!printed) {
-				debug(logopt, "mount failed with error code 16"
+				debug(logopt, "umount failed with error code 16"
 				      ", retrying with the -f option");
 				printed = 1;
 			}

--
To unsubscribe from this list: send the line "unsubscribe autofs" in



[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux