Blob Blame History Raw
autofs-5.0.8 - fix symlink fail message in mount_bind.c

From: Ian Kent <raven@themaw.net>


---
 CHANGELOG            |    1 +
 modules/mount_bind.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

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