forked from luck/tmp_suning_uos_patched
57a42a34d1
Several different functions in turbostat contain the same pattern of opening a file and exiting on failure. Factor out a common fopen_or_die function for that. Signed-off-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Len Brown <len.brown@intel.com> |
||
---|---|---|
.. | ||
turbostat | ||
x86_energy_perf_policy |