summaryrefslogtreecommitdiffstats
path: root/updater/install.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2016-06-30 20:04:38 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-06-30 20:04:38 +0200
commita82ee456bbb2fdcd77b782d52500650bd06d04e9 (patch)
tree7285c9ec835d724794d423452b630cd6fefdf23a /updater/install.cpp
parentMerge "Fix google-explicit-constructor warnings in bootable/recovery." (diff)
parentFix install.h's use of attribute printf. (diff)
downloadandroid_bootable_recovery-a82ee456bbb2fdcd77b782d52500650bd06d04e9.tar
android_bootable_recovery-a82ee456bbb2fdcd77b782d52500650bd06d04e9.tar.gz
android_bootable_recovery-a82ee456bbb2fdcd77b782d52500650bd06d04e9.tar.bz2
android_bootable_recovery-a82ee456bbb2fdcd77b782d52500650bd06d04e9.tar.lz
android_bootable_recovery-a82ee456bbb2fdcd77b782d52500650bd06d04e9.tar.xz
android_bootable_recovery-a82ee456bbb2fdcd77b782d52500650bd06d04e9.tar.zst
android_bootable_recovery-a82ee456bbb2fdcd77b782d52500650bd06d04e9.zip
Diffstat (limited to 'updater/install.cpp')
-rw-r--r--updater/install.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/updater/install.cpp b/updater/install.cpp
index 11d5215c3..3e7e9285a 100644
--- a/updater/install.cpp
+++ b/updater/install.cpp
@@ -79,8 +79,7 @@ static void uiPrint(State* state, const std::string& buffer) {
fprintf(stderr, "%s", buffer.c_str());
}
-__attribute__((__format__(printf, 2, 3))) __nonnull((2))
-void uiPrintf(State* state, const char* format, ...) {
+void uiPrintf(State* _Nonnull state, const char* _Nonnull format, ...) {
std::string error_msg;
va_list ap;