Blame SOURCES/autofs-5.1.7-fix-arg-not-used-in-print.patch

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