turbostat: Fix parsing warnings
authorRyan McCabe <rmccabe@redhat.com>
Thu, 7 Nov 2019 18:58:37 +0000 (13:58 -0500)
committerRyan McCabe <rmccabe@redhat.com>
Thu, 7 Nov 2019 19:07:14 +0000 (14:07 -0500)
commit2bc8f11d9c7182e24fb62a6efefa3e0b74ac0afb
treec120bec6a8cca04e91576acf12b877fba0609224
parenta146d7560a895231f30eaa68f71a4d3f588adf51
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>
src/turbostat.c