#ifdef HAVE_PCP_IMPL_H
#include <pcp/impl.h>
#endif
-#endif
+#endif /* HAVE_PCP */
/*
***************************************************************************
pmiAddMetric("nfs.server.reqs",
pmiID(60, 7, 12), PM_TYPE_U32, indom, PM_SEM_COUNTER,
pmiUnits(0, 0, 1, 0, 0, PM_COUNT_ONE));
-#endif
+#endif /* HAVE_PCP */
}
/*
if (DISPLAY_MEMORY(a->opt_flags)) {
- snprintf(buf, sizeof(buf), "%lu", (unsigned long)(smc->tlmkb >> 10));
+ snprintf(buf, sizeof(buf), "%lu", (unsigned long) (smc->tlmkb >> 10));
pmiPutValue("hinv.physmem", NULL, buf);
snprintf(buf, sizeof(buf), "%llu", smc->tlmkb);
j = check_net_dev_reg(a, curr, !curr, i);
if (j < 0) {
- /* This is a newly registered interface. */
+ /* This is a newly registered interface */
/* TODO: add a new instance? */
}
j = check_net_edev_reg(a, curr, !curr, i);
if (j < 0) {
- /* This is a newly registered interface. */
+ /* This is a newly registered interface */
/* TODO: add a new instance? */
}