From be22ae2d0729f68672e3202c91cfe13c9e74cccc Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 26 Mar 2004 01:59:35 +0000 Subject: SunOS can rot in hell. --- src/libthread/note.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libthread/note.c') 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); -- cgit v1.2.3