From 67e4fce4f5b62cf5f9e6b4b7b59ff2b2818d21f5 Mon Sep 17 00:00:00 2001 From: rsc Date: Mon, 19 Apr 2004 23:58:57 +0000 Subject: make mac work --- src/libmach/nosys.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/libmach') diff --git a/src/libmach/nosys.c b/src/libmach/nosys.c index 1407ba72..2a601800 100644 --- a/src/libmach/nosys.c +++ b/src/libmach/nosys.c @@ -6,6 +6,8 @@ #include #include +Mach *machcpu = &mach386; + void unmapproc(Map *m) { @@ -46,7 +48,7 @@ ctlproc(int pid, char *msg) { USED(pid); USED(msg); - werrstr("ctlproc not implemented'); + werrstr("ctlproc not implemented"); return -1; } @@ -55,5 +57,5 @@ proctextfile(int pid) { USED(pid); werrstr("proctextfile not implemented"); - return -1; + return nil; } -- cgit v1.2.3