From a995e477ffb4dd1184da87e9e46a9e57f3178c63 Mon Sep 17 00:00:00 2001 From: rsc Date: Wed, 1 Oct 2003 02:50:57 +0000 Subject: Various tweaks to make things run on Mac OS. The main change is the use of pthread to implement ffork. --- src/lib9/sysfatal.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib9/sysfatal.c') diff --git a/src/lib9/sysfatal.c b/src/lib9/sysfatal.c index f9ab6985..33a533b8 100644 --- a/src/lib9/sysfatal.c +++ b/src/lib9/sysfatal.c @@ -14,6 +14,7 @@ sysfatal(char *fmt, ...) vseprint(buf, buf+sizeof buf, fmt, arg); va_end(arg); + __fixargv0(); fprint(2, "%s; %s\n", argv0 ? argv0 : "", buf); exits("fatal"); } -- cgit v1.2.3