diff --git a/c/meterpreter/source/common/arch/posix/scheduler.c b/c/meterpreter/source/common/arch/posix/scheduler.c
index 12e26dec..d419ca72 100644
--- a/c/meterpreter/source/common/arch/posix/scheduler.c
+++ b/c/meterpreter/source/common/arch/posix/scheduler.c
@@ -91,7 +91,7 @@ DWORD scheduler_initialize( Remote * remote )
 	pthread_mutex_init(&scheduler_mutex, NULL);
 	pthread_cond_init(&scheduler_cond, NULL);
 
-	scheduler_thread = thread_create(scheduler_run, remote, NULL);
+	scheduler_thread = thread_create(scheduler_run, remote, NULL, NULL);
 	if(! scheduler_thread) {
 		return ENOMEM;
 	}
diff --git a/c/meterpreter/source/extensions/networkpug/networkpug.c b/c/meterpreter/source/extensions/networkpug/networkpug.c
index d7277aa5..59e56c66 100644
--- a/c/meterpreter/source/extensions/networkpug/networkpug.c
+++ b/c/meterpreter/source/extensions/networkpug/networkpug.c
@@ -324,7 +324,7 @@ DWORD request_networkpug_start(Remote *remote, Packet *packet)
 		np->remote = remote;
 		np->pcap = pcap_open_live(interface, MAX_MTU, 1, 1000, errbuf);
 		// xxx, add in filter support
-		np->thread = thread_create((THREADFUNK) networkpug_thread, np, remote);
+		np->thread = thread_create((THREADFUNK) networkpug_thread, np, remote, NULL);
 		
 		chops.native.context = np;
 		chops.native.write = networkpug_channel_write;