aboutsummaryrefslogtreecommitdiff
path: root/src/libmach
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmach')
-rw-r--r--src/libmach/nosys.c6
1 files changed, 4 insertions, 2 deletions
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 <libc.h>
#include <mach.h>
+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;
}