summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authormarxin <mliska@suse.cz>2019-02-22 15:38:49 +0100
committermarxin <mliska@suse.cz>2019-02-27 06:56:50 +0100
commitaff84ec55d8d0cc782eaa310b9f769291799d5fd (patch)
tree745f6a668d7ab7c97f9df6ab11b2808936749149 /drivers
parentce114e35dda4b3f282abb458f8409db2369b279e (diff)
Fix -Wsuggest-attribute=format warnings.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/unix/syslog_logger.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/syslog_logger.h b/drivers/unix/syslog_logger.h
index 5cfe3964f6..49a34dacc3 100644
--- a/drivers/unix/syslog_logger.h
+++ b/drivers/unix/syslog_logger.h
@@ -37,7 +37,7 @@
class SyslogLogger : public Logger {
public:
- virtual void logv(const char *p_format, va_list p_list, bool p_err);
+ virtual void logv(const char *p_format, va_list p_list, bool p_err) _PRINTF_FORMAT_ATTRIBUTE_2_0;
virtual void print_error(const char *p_function, const char *p_file, int p_line, const char *p_code, const char *p_rationale, ErrorType p_type);
virtual ~SyslogLogger();