diff options
author | Sohaib Mohamed <sohaib.amhmd@gmail.com> | 2021-10-26 13:07:24 +0200 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2021-12-07 17:04:49 +1100 |
commit | ba3a1df8069ca6aa858ed2c79ad9ace63883b70b (patch) | |
tree | 54daf5321e64ef2b0da4d5b429ad075be777e54d /pcp | |
parent | b672e60886a9f1473d437d065de2d86b4febc543 (diff) |
Fix misc styleguide issues and add missing header files
Signed-off-by: Sohaib Mohamed <sohaib.amhmd@gmail.com>
Diffstat (limited to 'pcp')
-rw-r--r-- | pcp/PCPMetric.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcp/PCPMetric.c b/pcp/PCPMetric.c index f6d4c97b..606a5df0 100644 --- a/pcp/PCPMetric.c +++ b/pcp/PCPMetric.c @@ -166,7 +166,7 @@ bool PCPMetric_fetch(struct timeval* timestamp) { } int sts, count = 0; do { - sts = pmFetch(pcp->totalMetrics, pcp->fetch, &pcp->result); + sts = pmFetch(pcp->totalMetrics, pcp->fetch, &pcp->result); } while (sts == PM_ERR_IPC && ++count < 3); if (sts < 0) { if (pmDebugOptions.appl0) |