aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/qcom-timer.c
diff options
context:
space:
mode:
authorJosh Triplett <[email protected]>2013-08-21 00:20:18 +0000
committerLen Brown <[email protected]>2014-01-19 03:34:10 +0000
commitb2c95d90a799c9885661d431034b7ca733cc2660 (patch)
tree4ff18cce19b0175de18b0dc21649fe994127e927 /drivers/clocksource/qcom-timer.c
parentturbostat: Factor out common function to open file and exit on failure (diff)
downloadkernel-b2c95d90a799c9885661d431034b7ca733cc2660.tar.gz
kernel-b2c95d90a799c9885661d431034b7ca733cc2660.zip
turbostat: Clean up error handling; disambiguate error messages; use err and errx
Most of turbostat's error handling consists of printing an error (often including an errno) and exiting. Since perror doesn't support a format string, those error messages are often ambiguous, such as just showing a file path, which doesn't uniquely identify which call failed. turbostat already uses _GNU_SOURCE, so switch to the err and errx functions from err.h, which take a format string. Signed-off-by: Josh Triplett <[email protected]> Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'drivers/clocksource/qcom-timer.c')
0 files changed, 0 insertions, 0 deletions