commit b274161734abab8eb655b11c80b1308363a0aa88
parent b1b5deeea60d9a25c81c88962ce8caf24a3a0dac
Author: rsc <devnull@localhost>
Date: Fri, 23 Apr 2004 05:46:42 +0000
invoke correct helper.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/cmd/draw/stats.c b/src/cmd/draw/stats.c
@@ -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){
@@ -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]);