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