commit | a62f93f507b92c1d09a690789fa09c1c59137fb1 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Sep 05 15:56:10 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Sep 05 15:56:10 2018 +0000 |
tree | d8b3779f9d69f6a9bd7e7ef40bd59ff581e15032 | |
parent | 11f9362885f59f9c12d14e95fa2a0c97579b104d [diff] | |
parent | a79fc67b18bafc8557f210f688c2100595bdeedd [diff] |
Merge "adb: syntax_error: add compile time format string checking"
diff --git a/adb/adb_utils.h b/adb/adb_utils.h index f764a0e..f6ce8e2 100644 --- a/adb/adb_utils.h +++ b/adb/adb_utils.h
@@ -24,7 +24,7 @@ #include <android-base/macros.h> -int syntax_error(const char*, ...); +int syntax_error(const char*, ...) __attribute__((__format__(__printf__, 1, 2))); void close_stdin();