aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/note.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libthread/note.c')
-rw-r--r--src/libthread/note.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libthread/note.c b/src/libthread/note.c
index 1136156c..de92d48d 100644
--- a/src/libthread/note.c
+++ b/src/libthread/note.c
@@ -25,12 +25,12 @@ threadnotify(int (*f)(void*, char*), int in)
int (*from)(void*, char*), (*to)(void*, char*);
if(in){
- from = nil;
+ from = 0;
to = f;
topid = _threadgetproc()->pid;
}else{
from = f;
- to = nil;
+ to = 0;
topid = 0;
}
lock(&onnotelock);