summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--minui/events.cpp1
-rw-r--r--recovery.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/minui/events.cpp b/minui/events.cpp
index 6dd60fe68..fa44033d2 100644
--- a/minui/events.cpp
+++ b/minui/events.cpp
@@ -15,6 +15,7 @@
*/
#include <dirent.h>
+#include <fcntl.h>
#include <linux/input.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/recovery.cpp b/recovery.cpp
index 9dfe5d1bf..8c214beb2 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -961,7 +961,6 @@ static void choose_recovery_file(Device* device) {
}
} else {
// If cache partition is not found, view /tmp/recovery.log instead.
- ui->Print("No /cache partition found.\n");
if (access(TEMPORARY_LOG_FILE, R_OK) == -1) {
return;
} else{