From 9bea1b2def1843da9f4e04135a26e0f561c0baf2 Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Thu, 7 Jul 2016 00:00:00 -0500 Subject: library: the overlooked twerks (oops, tweaks), 3rd gen Yes, all of these changes are strictly cosmetic. It is likely symptomatic of some deep-seated character flaw. [ or, it might be because of a certain pride in this ] [ new library and the desire to make it even better! ] Signed-off-by: Jim Warner --- proc/slabinfo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'proc/slabinfo.c') diff --git a/proc/slabinfo.c b/proc/slabinfo.c index 7633ad7..85f03c5 100644 --- a/proc/slabinfo.c +++ b/proc/slabinfo.c @@ -536,8 +536,8 @@ static inline void cleanup_stack ( static inline void cleanup_stacks_all ( struct ext_support *this) { - int i; struct stacks_extent *ext = this->extents; + int i; while (ext) { for (i = 0; ext->stacks[i]; i++) @@ -958,8 +958,8 @@ PROCPS_EXPORT struct slabinfo_stack *procps_slabinfo_select ( /* * procps_slabinfo_sort(): * - * Sort stacks anchored as 'heads' in the passed slabinfo_stack pointers - * array based on the designated sort enumerator. + * Sort stacks anchored in the passed stack pointers array + * based on the designated sort enumerator and specified order. * * Returns those same addresses sorted. * -- cgit v1.2.1