pcie_errors: address review comments
authorKamil Wiatrowski <kamilx.wiatrowski@intel.com>
Sat, 9 Jun 2018 00:25:24 +0000 (01:25 +0100)
committerKamil Wiatrowski <kamilx.wiatrowski@intel.com>
Sat, 9 Jun 2018 04:27:11 +0000 (05:27 +0100)
commit2eb416081f0086a0e745902259aa07f919689ee8
treea8f91138234dba0c50b88ff27c730ea59f809e68
parent814678593c7f581a1428cf566333609384848827
pcie_errors: address review comments

Fix some typos.
Check for errors and truncation in snprintf.
Return error from pcie_plugin_config.
Change _Bool to bool.
Other small fixes.

Change-Id: I654e9ee3bbf58232c460a09e1a25862a593d0248
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
src/collectd.conf.pod
src/pcie_errors.c
src/pcie_errors_test.c
src/testing.h