diff options
Diffstat (limited to 'sim/sim_events.cc')
-rw-r--r-- | sim/sim_events.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/sim_events.cc b/sim/sim_events.cc index ffabc3006..8a2481484 100644 --- a/sim/sim_events.cc +++ b/sim/sim_events.cc @@ -30,6 +30,7 @@ #include "cpu.hh" #include "eventq.hh" +#include "hostinfo.hh" #include "sim_events.hh" #include "sim_exit.hh" #include "sim_stats.hh" @@ -122,7 +123,7 @@ CheckSwapEvent::process() long swap; /* returns free swap in KBytes */ - swap = proc_info("/proc/meminfo", "SwapFree:"); + swap = procInfo("/proc/meminfo", "SwapFree:"); if (swap < 1000) ccprintf(cerr, "\a\a\aWarning! Swap space is low (%d)\n", swap); |