summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-04-27 00:36:20 +0200
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-04-27 00:36:20 +0200
commit3eb0a4705fecc8248f82140b20591bafa1f65d5a (patch)
tree3b8067b3ee9d998947ef40d34cfb067ea991342f
parentMerge "sample_updater: create tools/gen_update_config.py" am: 6bd1d9b8d9 (diff)
parentMark ui_print with __printflike. (diff)
downloadandroid_bootable_recovery-3eb0a4705fecc8248f82140b20591bafa1f65d5a.tar
android_bootable_recovery-3eb0a4705fecc8248f82140b20591bafa1f65d5a.tar.gz
android_bootable_recovery-3eb0a4705fecc8248f82140b20591bafa1f65d5a.tar.bz2
android_bootable_recovery-3eb0a4705fecc8248f82140b20591bafa1f65d5a.tar.lz
android_bootable_recovery-3eb0a4705fecc8248f82140b20591bafa1f65d5a.tar.xz
android_bootable_recovery-3eb0a4705fecc8248f82140b20591bafa1f65d5a.tar.zst
android_bootable_recovery-3eb0a4705fecc8248f82140b20591bafa1f65d5a.zip
-rw-r--r--common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.h b/common.h
index a85130698..4228e71de 100644
--- a/common.h
+++ b/common.h
@@ -40,7 +40,7 @@ extern const char* reason;
// fopen a file, mounting volumes and making parent dirs as necessary.
FILE* fopen_path(const std::string& path, const char* mode);
-void ui_print(const char* format, ...);
+void ui_print(const char* format, ...) __printflike(1, 2);
bool is_ro_debuggable();