summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 733294e)
raw | patch | inline | side by side (parent: 733294e)
author | Vincent Brillault <git@lerya.net> | |
Fri, 22 Aug 2014 23:06:30 +0000 (01:06 +0200) | ||
committer | Vincent Brillault <git@lerya.net> | |
Sat, 28 Feb 2015 06:35:40 +0000 (07:35 +0100) |
src/turbostat.c | patch | blob | history |
diff --git a/src/turbostat.c b/src/turbostat.c
index 6a1b933d20bcbe9cb0595c00d3e3a1471bb1d3f1..aef6628622af049978167182c902559d6fa39db3 100644 (file)
--- a/src/turbostat.c
+++ b/src/turbostat.c
{
int ret;
+ DO_OR_GOTO_ERR(check_super_user());
DO_OR_GOTO_ERR(probe_cpu());
DO_OR_GOTO_ERR(check_dev_msr());
- DO_OR_GOTO_ERR(check_super_user());
DO_OR_GOTO_ERR(setup_all_buffers());
DO_OR_GOTO_ERR(for_all_cpus(set_temperature_target, EVEN_COUNTERS));