bob@MorningStar.Com (Bob Sutterfield) (01/12/90)
This makes a pile of xcpustate bars (each running on a different
machine) easier to decipher:
*** X.V11R4/contrib/clients/xcpustate/s-bsd.c.dist Thu Jan 4 18:28:06 1990
--- X.V11R4/contrib/clients/xcpustate/s-bsd.c Thu Jan 11 12:56:25 1990
***************
*** 33,38 ****
--- 33,43 ----
{
static char *name[] = {"CPU states"};
+ if ((gethostname(name[0], MAXHOSTNAMELEN)) < 0)
+ {
+ perror("gethostname");
+ }
+
return name;
}