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

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