Skip to content
Commit 8173c336 authored by Ben Hutchings's avatar Ben Hutchings Committed by Len Brown
Browse files

tools/power turbostat: Add checks for failure of fgets() and fscanf()



Most calls to fgets() and fscanf() are followed by error checks.
Add an exit-on-error in the remaining cases.

Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 3316f99a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment