From c934a3ab7a6e45285ba33ae9b2e953504a01240c Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Fri, 19 Jun 2020 00:00:00 -0500 Subject: [PATCH] misc: respond to library rename of structs to 'reaped' Signed-off-by: Jim Warner --- slabtop.c | 2 +- vmstat.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/slabtop.c b/slabtop.c index af96a4f0..510a62e9 100644 --- a/slabtop.c +++ b/slabtop.c @@ -314,7 +314,7 @@ int main(int argc, char *argv[]) } do { - struct slabinfo_reap *reaped; + struct slabinfo_reaped *reaped; struct timeval tv; fd_set readfds; int i; diff --git a/vmstat.c b/vmstat.c index 0134107c..3bbc6080 100644 --- a/vmstat.c +++ b/vmstat.c @@ -637,7 +637,7 @@ static void diskformat(void) { #define diskVAL(e,t) DISKSTATS_VAL(e, t, reap->stacks[j], disk_stat) struct diskstats_info *disk_stat; - struct diskstats_reap *reap; + struct diskstats_reaped *reap; int i, j; time_t the_time; struct tm *tm_ptr; @@ -716,7 +716,7 @@ static void slabformat (void) #define MAX_ITEMS (int)(sizeof(node_items) / sizeof(node_items[0])) #define slabVAL(e,t) SLABINFO_VAL(e, t, p, slab_info) struct slabinfo_info *slab_info = NULL; - struct slabinfo_reap *reaped; + struct slabinfo_reaped *reaped; int i, j; enum slabinfo_item node_items[] = { SLAB_ACTIVE_OBJS, SLAB_NUM_OBJS, @@ -760,7 +760,7 @@ static void disksum_format(void) { #define diskVAL(e,t) DISKSTATS_VAL(e, t, reap->stacks[j], disk_stat) struct diskstats_info *disk_stat; - struct diskstats_reap *reap; + struct diskstats_reaped *reap; int j, disk_count, part_count; unsigned long reads, merged_reads, read_sectors, milli_reading, writes, merged_writes, written_sectors, milli_writing, inprogress_IO, -- 2.40.0