summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2018-04-26 22:27:50 +0200
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-04-26 22:27:50 +0200
commit3d655c0ab886b951ed9b6b0f2a26d89a842dbe31 (patch)
tree3b8067b3ee9d998947ef40d34cfb067ea991342f
parentMerge "sample_updater: create tools/gen_update_config.py" am: 6bd1d9b8d9 am: 9882160d8d (diff)
parentMark ui_print with __printflike. (diff)
downloadandroid_bootable_recovery-3d655c0ab886b951ed9b6b0f2a26d89a842dbe31.tar
android_bootable_recovery-3d655c0ab886b951ed9b6b0f2a26d89a842dbe31.tar.gz
android_bootable_recovery-3d655c0ab886b951ed9b6b0f2a26d89a842dbe31.tar.bz2
android_bootable_recovery-3d655c0ab886b951ed9b6b0f2a26d89a842dbe31.tar.lz
android_bootable_recovery-3d655c0ab886b951ed9b6b0f2a26d89a842dbe31.tar.xz
android_bootable_recovery-3d655c0ab886b951ed9b6b0f2a26d89a842dbe31.tar.zst
android_bootable_recovery-3d655c0ab886b951ed9b6b0f2a26d89a842dbe31.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();