summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2026-05-03 14:29:40 -0400
committerLen Brown <len.brown@intel.com>2026-10-19 10:19:51 -0400
commit3bbe42ac516d3f0ea43aaaa6dbf98f174f3f8a1b (patch)
tree56cc78e7ab08a474b8ccc98a27890944e6de350a /scripts/basic
parent12f841ec7b8943923f04fc438cb2883b9f9a773e (diff)
downloadlinux-3bbe42ac516d3f0ea43aaaa6dbf98f174f3f8a1b.tar.gz
linux-3bbe42ac516d3f0ea43aaaa6dbf98f174f3f8a1b.zip
tools/power turbostat: Cleanup: consistently use warn/err, not perror
Acknowledge that get_msr() always errs out on failure by returning void and deleting checks for its return value. Replace all perror() with warn(). Replace all perror()/exit() with err(). No functional change, unless you count the uniform return value of -1 on calloc failure. Assisted-by: Claude:claude-sonnet-4.6 Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions