Browse Source

Plan 9 from Bell Labs 2010-07-13

David du Colombier 13 years ago
parent
commit
899d3215ec
1 changed files with 2 additions and 1 deletions
  1. 2 1
      sys/src/cmd/stats.c

+ 2 - 1
sys/src/cmd/stats.c

@@ -76,7 +76,8 @@ struct Machine
 	uvlong		netetherifstats[2];
 	uvlong		temp[10];
 
-	char		buf[1024];
+	/* big enough to hold /dev/sysstat even with many processors */
+	char		buf[8*1024];
 	char		*bufp;
 	char		*ebufp;
 };