Blame SOURCES/autofs-5.0.8-fix-symlink-fail-message-in-mount_bind-c.patch

306fa1
autofs-5.0.8 - fix symlink fail message in mount_bind.c
306fa1
306fa1
From: Ian Kent <raven@themaw.net>
306fa1
306fa1
306fa1
---
306fa1
 CHANGELOG            |    1 +
306fa1
 modules/mount_bind.c |    2 +-
306fa1
 2 files changed, 2 insertions(+), 1 deletion(-)
306fa1
306fa1
--- autofs-5.0.7.orig/CHANGELOG
306fa1
+++ autofs-5.0.7/CHANGELOG
306fa1
@@ -78,6 +78,7 @@
306fa1
 - fix max() declaration.
306fa1
 - setup program map env from macro table.
306fa1
 - add short host name standard marco variable.
306fa1
+- fix symlink fail message in mount_bind.c.
306fa1
 
306fa1
 25/07/2012 autofs-5.0.7
306fa1
 =======================
306fa1
--- autofs-5.0.7.orig/modules/mount_bind.c
306fa1
+++ autofs-5.0.7/modules/mount_bind.c
306fa1
@@ -206,7 +206,7 @@ int mount_mount(struct autofs_point *ap,
306fa1
 		if (symlink(what, fullpath) && errno != EEXIST) {
306fa1
 			error(ap->logopt,
306fa1
 			      MODPREFIX
306fa1
-			      "failed to create local mount %s -> %s",
306fa1
+			      "failed to create symlink %s -> %s",
306fa1
 			      fullpath, what);
306fa1
 			if ((ap->flags & MOUNT_FLAG_GHOST) && !status)
306fa1
 				if (mkdir_path(fullpath, 0555) && errno != EEXIST) {