]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - kernel/core/thread.cc
GCC 4.2.1 fixes, plus a couple library functions.
[polintos/scott/priv.git] / kernel / core / thread.cc
index 80451c0f8a3c5e5157a64c68b24fd9d62750f663..3358f0fb52f7ce36356dc2cd4088b76083789947 100644 (file)
@@ -245,7 +245,7 @@ namespace Threads {
        }
        
        Thread *Sched::new_thread(thread_func func, void *arg1,
-                                 void *arg2, char *name)
+                                 void *arg2, const char *name)
        {
                // Allocate a page for the thread's stack, and stick the thread
                // struct at the top of the stack.  It's placed at the top rather