summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-04-27 00:18:17 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-04-27 00:18:17 +0200
commit220b531e3d6caf328eb628ded75987f8055dd942 (patch)
tree670da6cc146ce288b595aff82ff74920482f33f8 /common.h
parentMerge "sample_updater: create tools/gen_update_config.py" (diff)
parentMark ui_print with __printflike. (diff)
downloadandroid_bootable_recovery-220b531e3d6caf328eb628ded75987f8055dd942.tar
android_bootable_recovery-220b531e3d6caf328eb628ded75987f8055dd942.tar.gz
android_bootable_recovery-220b531e3d6caf328eb628ded75987f8055dd942.tar.bz2
android_bootable_recovery-220b531e3d6caf328eb628ded75987f8055dd942.tar.lz
android_bootable_recovery-220b531e3d6caf328eb628ded75987f8055dd942.tar.xz
android_bootable_recovery-220b531e3d6caf328eb628ded75987f8055dd942.tar.zst
android_bootable_recovery-220b531e3d6caf328eb628ded75987f8055dd942.zip
Diffstat (limited to 'common.h')
-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();