From 5112731666070037ac8ed78dfdad57a11bd4cb6d Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Sat, 8 Sep 2012 13:08:49 -0400 Subject: Improve storage size code, mount, unmount Add flag parsing from recovery.fstab --- recovery.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'recovery.cpp') 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"); -- cgit v1.2.3