summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/msrtool/msrtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/msrtool/msrtool.c b/util/msrtool/msrtool.c
index 98e1169592..02c641f2d7 100644
--- a/util/msrtool/msrtool.c
+++ b/util/msrtool/msrtool.c
@@ -87,7 +87,7 @@ static void *add_target(const struct targetdef *t) {
return targets;
}
-static int found_system() {
+static int found_system(void) {
if (!sys || (sys && !sys->name)) {
fprintf(stderr, "Unable to detect the current operating system!\n");
fprintf(stderr, "On Linux, please run 'modprobe msr' and try again.\n");