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

@ -54,7 +54,7 @@ public:
void TraceOn();
void TraceOff();
int LogTrace(const char* fmt, ...);
int LogTrace(const char* fmt, ...) __attribute__((format(printf, 2, 3)));;
protected:
bool dbgtrace; // print an execution trace