summaryrefslogtreecommitdiffstats
path: root/common/log.h
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-06-21 16:30:16 -0700
committerPavel Roskin <plroskin@gmail.com>2016-06-21 16:30:16 -0700
commitb1527b7947b867a8dc6dd22bda9147713c10620b (patch)
tree94ebd7cc2726571932b5739cdbfae1de1730d06d /common/log.h
parentbe1d034f91a998ecbcd6a4d06c88b6ca79aff901 (diff)
downloadxrdp-proprietary-b1527b7947b867a8dc6dd22bda9147713c10620b.tar.gz
xrdp-proprietary-b1527b7947b867a8dc6dd22bda9147713c10620b.zip
Check string format in log_message
Move "printflike" definition to arch.h, it's used both by log.h and os_calls.h.
Diffstat (limited to 'common/log.h')
-rw-r--r--common/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/log.h b/common/log.h
index 15307588..6654028b 100644
--- a/common/log.h
+++ b/common/log.h
@@ -171,7 +171,7 @@ log_end(void);
* @return
*/
enum logReturns DEFAULT_CC
-log_message(const enum logLevels lvl, const char *msg, ...);
+log_message(const enum logLevels lvl, const char *msg, ...) printflike(2, 3);
/**
*