related: adapt to changes in 'context' structure names
Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
@@ -91,7 +91,7 @@ extern long Hertz;
|
||||
|
||||
static void get_boot_time(void)
|
||||
{
|
||||
struct procps_statinfo *stat_info = NULL;
|
||||
struct stat_info *stat_info = NULL;
|
||||
if (procps_stat_new(&stat_info) < 0)
|
||||
xerrx(EXIT_FAILURE, _("Unable to create NEW ystem stat structure"));
|
||||
boot_time = PROCPS_STAT_GET(stat_info, PROCPS_STAT_SYS_TIME_OF_BOOT, ul_int);
|
||||
@@ -100,7 +100,7 @@ static void get_boot_time(void)
|
||||
|
||||
static void get_memory_total()
|
||||
{
|
||||
struct procps_meminfo *mem_info = NULL;
|
||||
struct meminfo_info *mem_info = NULL;
|
||||
if (procps_meminfo_new(&mem_info) < 0)
|
||||
xerrx(EXIT_FAILURE,
|
||||
_("Unable to create meminfo structure"));
|
||||
|
||||
Reference in New Issue
Block a user