Blame SOURCES/autofs-5.1.7-fix-arg-not-used-in-print.patch
|
|
9a499a |
autofs-5.1.7 - fix arg not used in error print
|
|
|
9a499a |
|
|
|
9a499a |
From: Ian Kent <raven@themaw.net>
|
|
|
9a499a |
|
|
|
9a499a |
Coverity: extra_argument: This argument was not used by the format
|
|
|
9a499a |
string: "key".
|
|
|
9a499a |
|
|
|
9a499a |
Signed-off-by: Ian Kent <raven@themaw.net>
|
|
|
9a499a |
---
|
|
|
9a499a |
CHANGELOG | 1 +
|
|
|
9a499a |
lib/mounts.c | 4 +---
|
|
|
9a499a |
2 files changed, 2 insertions(+), 3 deletions(-)
|
|
|
9a499a |
|
|
|
9a499a |
--- autofs-5.1.4.orig/CHANGELOG
|
|
|
9a499a |
+++ autofs-5.1.4/CHANGELOG
|
|
|
9a499a |
@@ -60,6 +60,7 @@
|
|
|
9a499a |
- dont try umount after stat() ENOENT fail.
|
|
|
9a499a |
- remove redundant assignment in master_add_amd_mount_section_mounts().
|
|
|
9a499a |
- fix dead code in mnts_add_mount().
|
|
|
9a499a |
+- fix arg not used in error print.
|
|
|
9a499a |
|
|
|
9a499a |
xx/xx/2018 autofs-5.1.5
|
|
|
9a499a |
- fix flag file permission.
|
|
|
9a499a |
--- autofs-5.1.4.orig/lib/mounts.c
|
|
|
9a499a |
+++ autofs-5.1.4/lib/mounts.c
|
|
|
9a499a |
@@ -1519,9 +1519,7 @@ int tree_mapent_add_node(struct mapent_c
|
|
|
9a499a |
}
|
|
|
9a499a |
|
|
|
9a499a |
if (MAPENT_ROOT(base) != MAPENT_NODE(base)) {
|
|
|
9a499a |
- error(logopt,
|
|
|
9a499a |
- "failed to find multi-mount root of offset tree",
|
|
|
9a499a |
- key);
|
|
|
9a499a |
+ error(logopt, "key %s is not multi-mount root", root);
|
|
|
9a499a |
return 0;
|
|
|
9a499a |
}
|
|
|
9a499a |
tree = MAPENT_ROOT(base);
|