mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Added format attribute to __nsock_log_internal.
This allows log format strings to be checked at compile time.
This commit is contained in:
parent
b9fe5bce4f
commit
d878062cc7
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@
|
|||
|
||||
void __nsock_log_internal(nsock_pool nsp, nsock_loglevel_t loglevel,
|
||||
const char *file, int line, const char *func,
|
||||
const char *format, ...);
|
||||
const char *format, ...) __attribute__((format (printf, 6, 7)));
|
||||
|
||||
void nsock_stderr_logger(nsock_pool nsp, const struct nsock_log_rec *rec);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue