summaryrefslogtreecommitdiffstats
path: root/updater/install.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-06-30 20:32:29 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-06-30 20:32:29 +0200
commit5f9d7749e9d80370b2eaf00597c8a704b24dd569 (patch)
treedf49966a3b8484a0025e1b5bd4af0d813016bad8 /updater/install.cpp
parentMerge \\\\"Fix google-explicit-constructor warnings in bootable/recovery.\\\\" am: a9f648f010 am: 8e6e4bc979 am: a4cd854625 (diff)
parentMerge \\\"Fix install.h\\\'s use of attribute printf.\\\" am: a82ee456bb am: 691db7ba77 (diff)
downloadandroid_bootable_recovery-5f9d7749e9d80370b2eaf00597c8a704b24dd569.tar
android_bootable_recovery-5f9d7749e9d80370b2eaf00597c8a704b24dd569.tar.gz
android_bootable_recovery-5f9d7749e9d80370b2eaf00597c8a704b24dd569.tar.bz2
android_bootable_recovery-5f9d7749e9d80370b2eaf00597c8a704b24dd569.tar.lz
android_bootable_recovery-5f9d7749e9d80370b2eaf00597c8a704b24dd569.tar.xz
android_bootable_recovery-5f9d7749e9d80370b2eaf00597c8a704b24dd569.tar.zst
android_bootable_recovery-5f9d7749e9d80370b2eaf00597c8a704b24dd569.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 cf3e938a4..4c4886d51 100644
--- a/updater/install.cpp
+++ b/updater/install.cpp
@@ -80,8 +80,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;