summaryrefslogtreecommitdiffstats
path: root/pttbbs/mbbsd/cal.c
diff options
context:
space:
mode:
Diffstat (limited to 'pttbbs/mbbsd/cal.c')
-rw-r--r--pttbbs/mbbsd/cal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/cal.c b/pttbbs/mbbsd/cal.c
index fceaf2b1..37123a01 100644
--- a/pttbbs/mbbsd/cal.c
+++ b/pttbbs/mbbsd/cal.c
@@ -409,11 +409,11 @@ p_give()
int
p_sysinfo(void)
{
- char buf[128], *cpuloadstr;
+ char *cpuloadstr;
int load;
extern char *compile_time;
- load = cpuload(buf);
+ load = cpuload(NULL);
cpuloadstr = (load < 5 ? "¨}¦n" : (load < 20 ? "©|¥i" : "¹L­«"));
clear();