about summary refs log tree commit diff
path: root/Src/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/module.c')
-rw-r--r--Src/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/module.c b/Src/module.c
index c4fb95c78..22e9c6abb 100644
--- a/Src/module.c
+++ b/Src/module.c
@@ -3122,7 +3122,7 @@ bin_zmodload_features(const char *nam, char **args, Options ops)
 		    zwarnnam(nam, patprogs ?
 			     "module `%s' has no feature matching: `%s'" :
 			     "module `%s' has no such feature: `%s'",
-			     *arrp);
+			     modname, *arrp);
 		return 1;
 	    }
 	}