--- /sys/src/9/boot/aux.c Wed Apr 20 01:13:58 2011 +++ /sys/src/9/boot/aux.c Thu Jun 27 23:49:32 2013 @@ -66,12 +66,14 @@ void fatal(char *s) { + char *msg; char buf[ERRMAX]; buf[0] = '\0'; errstr(buf, sizeof buf); - fprint(2, "boot: %s: %s\n", s, buf); - exits(0); + msg = smprint("%s: %s", s, buf); + fprint(2, "boot: %s\n", msg); + exits(msg); /* this will trigger a panic */ } int --- /sys/src/9/boot/bootip.c Fri Jul 22 05:38:12 2011 +++ /sys/src/9/boot/bootip.c Thu Jun 27 23:49:32 2013 @@ -64,10 +64,10 @@ /* let ipconfig configure the ip interface */ switch(pid = fork()){ case -1: - fatal("configuring ip"); + fatal("fork configuring ip: %r"); case 0: exec("/boot/ipconfig", arg); - fatal("execing /ipconfig"); + fatal("execing /boot/ipconfig: %r"); default: break; }