diff options
Diffstat (limited to 'extendedcommands.c')
-rw-r--r-- | extendedcommands.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extendedcommands.c b/extendedcommands.c index 70c57fd..bbe6018 100644 --- a/extendedcommands.c +++ b/extendedcommands.c @@ -8,7 +8,6 @@ #include <stdlib.h> #include <string.h> #include <sys/reboot.h> -#include <reboot/reboot.h> #include <sys/types.h> #include <time.h> #include <unistd.h> @@ -42,6 +41,7 @@ #include <libgen.h> #include "mtdutils/mtdutils.h" #include "bmlutils/bmlutils.h" +#include "cutils/android_reboot.h" int signature_check_enabled = 1; @@ -914,7 +914,7 @@ void show_advanced_menu() { case 0: { - reboot_wrapper("recovery"); + android_reboot(ANDROID_RB_RESTART2, 0, "recovery"); break; } case 1: |