Add argument checking to a few more printf-style calls.

This commit is contained in:
Johanna Amann 2016-08-15 15:34:27 -07:00
parent 697b68ab01
commit bfdce4d419
7 changed files with 9 additions and 9 deletions

View file

@ -116,7 +116,7 @@ public:
* This is safe to call from Run() but must not be used from any
* other thread than the current one.
*/
const char* Fmt(const char* format, ...);
const char* Fmt(const char* format, ...) __attribute__((format(printf, 2, 3)));;
/**
* A version of strerror() that the thread can safely use. This is