From 139529c1e5c7280602cdb68cf18a0cca2f367426 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sun, 15 Jul 2007 17:04:41 +0000 Subject: [PATCH] id is always NULL for perfstat_memory_total --- src/os/aix/perfstat/sigar_perfstat.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/os/aix/perfstat/sigar_perfstat.c b/src/os/aix/perfstat/sigar_perfstat.c index 53a3753d..5867e2bd 100644 --- a/src/os/aix/perfstat/sigar_perfstat.c +++ b/src/os/aix/perfstat/sigar_perfstat.c @@ -44,10 +44,9 @@ int sigar_perfstat_pagingspace(perfstat_id_t *id, return perfstat_pagingspace(id, pagingspace, sizeof(*pagingspace), num); } -int sigar_perfstat_memory(perfstat_id_t *id, - perfstat_memory_total_t *memory) +int sigar_perfstat_memory(perfstat_memory_total_t *memory) { - return perfstat_memory_total(id, memory, sizeof(*memory), 1); + return perfstat_memory_total(NULL, memory, sizeof(*memory), 1); } int sigar_perfstat_disk(perfstat_id_t *id,