summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2012-09-08 19:08:49 +0200
committerDees_Troy <dees_troy@teamw.in>2012-09-10 17:33:29 +0200
commit5112731666070037ac8ed78dfdad57a11bd4cb6d (patch)
treed25fe6ae32a6ab56025a3e73851d10dac953d1f2 /recovery.cpp
parentAdd processing of fstab, mounting, and decrypt (diff)
downloadandroid_bootable_recovery-5112731666070037ac8ed78dfdad57a11bd4cb6d.tar
android_bootable_recovery-5112731666070037ac8ed78dfdad57a11bd4cb6d.tar.gz
android_bootable_recovery-5112731666070037ac8ed78dfdad57a11bd4cb6d.tar.bz2
android_bootable_recovery-5112731666070037ac8ed78dfdad57a11bd4cb6d.tar.lz
android_bootable_recovery-5112731666070037ac8ed78dfdad57a11bd4cb6d.tar.xz
android_bootable_recovery-5112731666070037ac8ed78dfdad57a11bd4cb6d.tar.zst
android_bootable_recovery-5112731666070037ac8ed78dfdad57a11bd4cb6d.zip
Diffstat (limited to 'recovery.cpp')
-rw-r--r--recovery.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/recovery.cpp b/recovery.cpp
index 319cdc72a..450f36330 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -51,6 +51,7 @@ extern "C" {
#include "gui/gui.h"
}
#include "partitions.hpp"
+#include "variables.h"
TWPartitionManager PartitionManager;
char device_id[64];
@@ -787,7 +788,7 @@ main(int argc, char **argv) {
return 0;
}
- printf("Starting TWRP %s on %s", EXPAND(TW_VERSION_STR), ctime(&start));
+ printf("Starting TWRP %s on %s", TW_VERSION_STR, ctime(&start));
// Recovery needs to install world-readable files, so clear umask
// set by init
umask(0);
@@ -802,7 +803,7 @@ main(int argc, char **argv) {
// Load default values to set DataManager constants and handle ifdefs
DataManager_LoadDefaults();
printf("Starting the UI...");
- printf(" result was: %i\n", gui_init());
+ gui_init();
printf("=> Installing busybox into /sbin\n");
__system("/sbin/bbinstall.sh"); // Let's install busybox
printf("=> Linking mtab\n");