tinvoke correct helper. - plan9port - [fork] Plan 9 from user space | |
git clone git://src.adamsgaard.dk/plan9port | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit b274161734abab8eb655b11c80b1308363a0aa88 | |
parent b1b5deeea60d9a25c81c88962ce8caf24a3a0dac | |
Author: rsc | |
Date: Fri, 23 Apr 2004 05:46:42 +0000 invoke correct helper. Diffstat: M src/cmd/draw/stats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- | |
diff --git a/src/cmd/draw/stats.c b/src/cmd/draw/stats.c | |
t@@ -857,7 +857,7 @@ initmach(Machine *m, char *name) sysfatal("pipe: %r"); memset(args, 0, sizeof args); - args[0] = "sysstat"; + args[0] = "auxstats"; if(name){ args[1] = name; if((q = strchr(name, ':')) != nil){ t@@ -868,7 +868,7 @@ initmach(Machine *m, char *name) kfd[0] = open("/dev/null", OREAD); kfd[1] = p[1]; kfd[2] = dup(2, -1); - if((pid = threadspawn(kfd, "sysstat", args)) < 0){ + if((pid = threadspawn(kfd, "auxstats", args)) < 0){ fprint(2, "spawn: %r\n"); close(kfd[0]); close(p[0]); |