summaryrefslogtreecommitdiffstats
path: root/install.c
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2010-06-25 02:16:49 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2010-06-25 02:16:49 +0200
commit9e6513f1450eb060862eb3bd7111176abee4ca6c (patch)
tree135e2194ef720bdb16e838a26eacedc4d0e9318a /install.c
parentam dd6a0412: recovery: Add ueventd service (diff)
parentAdd __attribute__((format(printf, a, b))) to printf like functions. (diff)
downloadandroid_bootable_recovery-9e6513f1450eb060862eb3bd7111176abee4ca6c.tar
android_bootable_recovery-9e6513f1450eb060862eb3bd7111176abee4ca6c.tar.gz
android_bootable_recovery-9e6513f1450eb060862eb3bd7111176abee4ca6c.tar.bz2
android_bootable_recovery-9e6513f1450eb060862eb3bd7111176abee4ca6c.tar.lz
android_bootable_recovery-9e6513f1450eb060862eb3bd7111176abee4ca6c.tar.xz
android_bootable_recovery-9e6513f1450eb060862eb3bd7111176abee4ca6c.tar.zst
android_bootable_recovery-9e6513f1450eb060862eb3bd7111176abee4ca6c.zip
Diffstat (limited to 'install.c')
-rw-r--r--install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.c b/install.c
index 37a4f0770..35ba6ca70 100644
--- a/install.c
+++ b/install.c
@@ -136,7 +136,7 @@ try_update_binary(const char *path, ZipArchive *zip) {
} else if (strcmp(command, "ui_print") == 0) {
char* str = strtok(NULL, "\n");
if (str) {
- ui_print(str);
+ ui_print("%s", str);
} else {
ui_print("\n");
}