about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Src/builtin.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9bf50969a..adb17988b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-03-08  Peter Stephenson  <pws@csr.com>
+
+	* 22337: Src/builtin.c: debugging code omitted from 22331.
+
 2006-03-07  Wayne Davison  <wayned@users.sourceforge.net>
 
 	* 22301: Completion/Base/Completer/_expand: enable alises for the
diff --git a/Src/builtin.c b/Src/builtin.c
index cff2ebe46..7dca28a58 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -2142,7 +2142,7 @@ typeset_single(char *cname, char *pname, Param pm, UNUSED(int func),
 	if (!(pm = setsparam(pname, ztrdup(value))))
 	    return NULL;
 	if (pm != ipm) {
-	    DPUTS(ipm->flags != pm->flags,
+	    DPUTS(ipm->node.flags != pm->node.flags,
 		  "BUG: parameter recreated with wrong flags");
 	    unsetparam_pm(ipm, 0, 1);
 	}