From e5d5ac76cc8e5d11867aeff6a1d068215c1c3a7c Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Thu, 12 Apr 2012 11:01:22 -0700 Subject: minor recovery changes - add the --just_exit option to make recovery exit normally without doing anything - make it possible to build updater extensions in C++ - add the clear_display command so that the updater binary can request recovery switch to the NONE background UI These are all used to support the notion of using OTA as a factory reflash mechanism. Change-Id: Ib00d1cbf540feff38f52a61a2cf198915b48488c --- edify/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'edify/expr.c') diff --git a/edify/expr.c b/edify/expr.c index 360007586..07a8ceb6a 100644 --- a/edify/expr.c +++ b/edify/expr.c @@ -495,7 +495,7 @@ Value** ReadValueVarArgs(State* state, int argc, Expr* argv[]) { // Use printf-style arguments to compose an error message to put into // *state. Returns NULL. -Value* ErrorAbort(State* state, char* format, ...) { +Value* ErrorAbort(State* state, const char* format, ...) { char* buffer = malloc(4096); va_list v; va_start(v, format); -- cgit v1.2.3