summaryrefslogtreecommitdiffstats
path: root/generic/tclThreadTest.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2006-09-22 14:48:51 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2006-09-22 14:48:51 (GMT)
commitffcc33c7062c747cb8341a4b2405e8043dd02733 (patch)
tree8d11c56a35a02dd5dd649775efda77323650ac0f /generic/tclThreadTest.c
parente071f14d95c6a3e37911f58a3ca71da73b6a72d2 (diff)
downloadtcl-ffcc33c7062c747cb8341a4b2405e8043dd02733.zip
tcl-ffcc33c7062c747cb8341a4b2405e8043dd02733.tar.gz
tcl-ffcc33c7062c747cb8341a4b2405e8043dd02733.tar.bz2
Fix [Bug 1562528]
Diffstat (limited to 'generic/tclThreadTest.c')
-rw-r--r--generic/tclThreadTest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclThreadTest.c b/generic/tclThreadTest.c
index f551746..15a4d95 100644
--- a/generic/tclThreadTest.c
+++ b/generic/tclThreadTest.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclThreadTest.c,v 1.16.2.1 2004/10/26 20:14:29 dgp Exp $
+ * RCS: @(#) $Id: tclThreadTest.c,v 1.16.2.2 2006/09/22 14:48:52 dkf Exp $
*/
#include "tclInt.h"
@@ -421,7 +421,7 @@ TclCreateThread(interp, script, joinable)
if (Tcl_CreateThread(&id, NewTestThread, (ClientData) &ctrl,
TCL_THREAD_STACK_DEFAULT, joinable) != TCL_OK) {
Tcl_MutexUnlock(&threadMutex);
- Tcl_AppendResult(interp,"can't create a new thread",0);
+ Tcl_AppendResult(interp,"can't create a new thread",NULL);
ckfree((void*)ctrl.script);
return TCL_ERROR;
}