about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-05-08 14:04:51 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-05-08 14:04:51 +0000
commitf7246fb559da77ac718b610132cdfb6ea07dc686 (patch)
treed19a25c7315641afe91d6e2007a54294d028fb3a
parentfbfbc7636ffefd65884c3010d9529fc456b7820f (diff)
downloadzsh-f7246fb559da77ac718b610132cdfb6ea07dc686.tar.gz
zsh-f7246fb559da77ac718b610132cdfb6ea07dc686.tar.xz
zsh-f7246fb559da77ac718b610132cdfb6ea07dc686.zip
unposted: bad argument to zmodload -F error message
-rw-r--r--ChangeLog2
-rw-r--r--Src/module.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c7ec6a906..fd8579397 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2008-05-08  Peter Stephenson  <pws@csr.com>
 
+	* unposted: Src/modules.c: bad arguments to error message.
+
 	* 24980: Doc/Zsh/builtins.yo, Src/builtin.c, Src/module.c,
 	Src/zsh.h: add zmodload -mF to manipulate features by pattern.
 
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;
 	    }
 	}