diff --git a/src/threads.c b/src/threads.c
index 0f4d330e1a88fc9256a9db4c3fe04d5a33a19a2c..dd70fb64d986236dbc0e1850c61433aafdbda3fa 100644
--- a/src/threads.c
+++ b/src/threads.c
@@ -1,5 +1,5 @@
 #include "global.h"
-RCSID("$Id: threads.c,v 1.143 2000/11/06 17:03:32 grubba Exp $");
+RCSID("$Id: threads.c,v 1.144 2000/11/06 19:29:17 mast Exp $");
 
 PMOD_EXPORT int num_threads = 1;
 PMOD_EXPORT int threads_disabled = 0;
@@ -1413,7 +1413,7 @@ void th_init(void)
   START_NEW_PROGRAM_ID(THREAD_LOCAL);
   ADD_STORAGE(struct thread_local);
   ADD_FUNCTION("get",f_thread_local_get,tFunc(tNone,tMix),0);
-  ADD_FUNCTION("set",f_thread_local_set,tFunc(tSetVar(1,tMix),tVar(1)),0);
+  ADD_FUNCTION("set",f_thread_local_set,tFunc(tSetvar(1,tMix),tVar(1)),0);
   thread_local_prog=Pike_compiler->new_program;
   add_ref(thread_local_prog);
   end_class("thread_local", 0);