diff options
author | Jim Warner <james.warner@comcast.net> | 2016-07-07 00:00:00 -0500 |
---|---|---|
committer | Craig Small <csmall@enc.com.au> | 2016-07-09 12:48:28 +1000 |
commit | 9bea1b2def1843da9f4e04135a26e0f561c0baf2 (patch) | |
tree | 9db51e51c00e74dfb7ee368958c1ca053be4508c /proc/slabinfo.c | |
parent | a6115bfff4e91766d7295658d864d391cb9d73da (diff) | |
download | procps-ng-9bea1b2def1843da9f4e04135a26e0f561c0baf2.tar.gz |
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 <james.warner@comcast.net>
Diffstat (limited to 'proc/slabinfo.c')
-rw-r--r-- | proc/slabinfo.c | 6 |
1 files changed, 3 insertions, 3 deletions
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. * |