diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2019-03-20 23:01:03 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2019-03-20 23:02:27 -0400 |
commit | 8173c336989c1a12290cd023969df2775b2df34d (patch) | |
tree | 75937b51dee0c58023489cc780351383840cad1c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3316f99a9f1b68c578c57e76792bd19da1c7d423 (diff) |
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: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions