about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Src/params.c3
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 383f36111..b35137970 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-06-03  Peter Stephenson  <pws@csr.com>
+
+	* 27994: Src/params.c: better error message when failing to
+	autoload parameter.
+
 2010-05-03  Frank Terbeck  <ft@bewatermyfriend.org>
 
 	* Holger Weiss: 27977: Completion/Unix/Command/_git: shouldn't
@@ -13194,5 +13199,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4989 $
+* $Revision: 1.4990 $
 *****************************************************
diff --git a/Src/params.c b/Src/params.c
index 576de2f52..8a34618fe 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -461,7 +461,8 @@ getparamnode(HashTable ht, const char *nam)
 	     * stuff to go ahead with the autoload stub with
 	     * no error status we're in for all sorts of mayhem?
 	     */
-	    zerr("unknown parameter: %s", nam);
+	    zerr("autoloading module %s failed to define parameter: %s", mn,
+		 nam);
 	}
     }
     return hn;