library: accumulated miscellaneous code/comment tweaks

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2016-11-24 12:12:12 -06:00 committed by Craig Small
parent 57dfe6f92c
commit 8ba07209f0
4 changed files with 6 additions and 6 deletions

View File

@ -33,7 +33,7 @@
#include <sys/stat.h>
#include <sys/types.h>
#include "procps-private.h"
#include <proc/procps-private.h>
#include <proc/diskstats.h>
/* The following define will cause the 'node_add' function to maintain our |
@ -923,7 +923,7 @@ PROCPS_EXPORT struct diskstats_stack *procps_diskstats_select (
return NULL;
if (!info->select_ext.extents
&& !(diskstats_stacks_alloc(&info->select_ext, 1)))
&& (!diskstats_stacks_alloc(&info->select_ext, 1)))
return NULL;
if (info->select_ext.dirty_stacks)

View File

@ -860,7 +860,7 @@ PROCPS_EXPORT struct meminfo_stack *procps_meminfo_select (
meminfo_extents_free_all(info);
}
if (!info->extents
&& !(meminfo_stacks_alloc(info, 1)))
&& (!meminfo_stacks_alloc(info, 1)))
return NULL;
if (info->dirty_stacks)

View File

@ -253,7 +253,7 @@ static struct {
QSR_t sortfunc; // sort cmp func for a specific type
char *type2str; // the result type as a string value
} Item_table[] = {
/* setsfunc sortfunc type2str
/* setsfunc sortfunc type2str
---------------------------- ----------- ---------- */
{ RS(noop), QS(noop), TS_noop },
{ RS(extra), QS(ul_int), TS_noop },
@ -956,7 +956,7 @@ PROCPS_EXPORT struct slabinfo_stack *procps_slabinfo_select (
return NULL;
if (!info->select_ext.extents
&& !(slabinfo_stacks_alloc(&info->select_ext, 1)))
&& (!slabinfo_stacks_alloc(&info->select_ext, 1)))
return NULL;
if (info->select_ext.dirty_stacks)

View File

@ -1244,7 +1244,7 @@ PROCPS_EXPORT struct vmstat_stack *procps_vmstat_select (
vmstat_extents_free_all(info);
}
if (!info->extents
&& !(vmstat_stacks_alloc(info, 1)))
&& (!vmstat_stacks_alloc(info, 1)))
return NULL;
if (info->dirty_stacks)