mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Add argument checking to a few more printf-style calls.
This commit is contained in:
parent
697b68ab01
commit
bfdce4d419
7 changed files with 9 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue