summaryrefslogtreecommitdiff
path: root/util/intelmetool/intelmetool.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/intelmetool/intelmetool.c')
-rw-r--r--util/intelmetool/intelmetool.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/intelmetool/intelmetool.c b/util/intelmetool/intelmetool.c
index 7ffd5359b3..70b23fbec2 100644
--- a/util/intelmetool/intelmetool.c
+++ b/util/intelmetool/intelmetool.c
@@ -68,7 +68,7 @@ static void rehide_me() {
printf("Re-hiding MEI device...");
fd2 = *(uint32_t *)(rcba + FD2);
*(uint32_t *)(rcba + FD2) = fd2 | 0x2;
- printf("done, ");
+ printf("done\n");
}
}
@@ -231,12 +231,12 @@ static void dump_me_info() {
exit(1);
}
- dev = pci_me_interface_scan(&name);
- if (!dev) {
+ if (activate_me()) {
exit(1);
}
- if (activate_me()) {
+ dev = pci_me_interface_scan(&name);
+ if (!dev) {
exit(1);
}