diff options
author | Josh Triplett <josh@joshtriplett.org> | 2013-08-21 02:20:17 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2014-01-19 04:34:09 +0100 |
commit | 57a42a34d126f2fe5d1f2f120c5f7a31ec65cd31 (patch) | |
tree | d646c40a4e06e7737b12bcddbe4ac9796f748bbf /crypto/asymmetric_keys/x509_rsakey.asn1 | |
parent | turbostat: Add a helper to parse a single int out of a file (diff) | |
download | linux-57a42a34d126f2fe5d1f2f120c5f7a31ec65cd31.tar.xz linux-57a42a34d126f2fe5d1f2f120c5f7a31ec65cd31.zip |
turbostat: Factor out common function to open file and exit on failure
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>
Diffstat (limited to 'crypto/asymmetric_keys/x509_rsakey.asn1')
0 files changed, 0 insertions, 0 deletions