From: Jim Warner Date: Fri, 19 Jun 2020 05:00:00 +0000 (-0500) Subject: misc: respond to library rename of structs to 'reaped' X-Git-Tag: v4.0.0~350 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c934a3ab7a6e45285ba33ae9b2e953504a01240c;p=procps-ng misc: respond to library rename of structs to 'reaped' Signed-off-by: Jim Warner --- 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,