turbostat: Fix parsing warnings collectd-5.8
authorRyan McCabe <rmccabe@redhat.com>
Thu, 7 Nov 2019 18:58:37 +0000 (13:58 -0500)
committerFlorian Forster <octo@collectd.org>
Fri, 15 Nov 2019 09:40:06 +0000 (10:40 +0100)
commitfe7335d14c0d8d7b2a279bfc0c05fd3587a11b18
tree6bc2291f96259f113ba0b1db8fd500c6d10e5d4e
parent454fd81f516e1370bec39d70bad424677c9459c5
turbostat: Fix parsing warnings

Fix warnings generated by the turbostat plugin due to trailing
characters while picking out the first number in a range.

ChangeLog: turbostat plugin: Fix parsing warnings.
PR: #2365
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
Signed-off-by: Florian Forster <octo@collectd.org>
src/turbostat.c