diff options
Diffstat (limited to 'libglusterfs/src/logging.h')
| -rw-r--r-- | libglusterfs/src/logging.h | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/libglusterfs/src/logging.h b/libglusterfs/src/logging.h index f2294488fae..859050d568b 100644 --- a/libglusterfs/src/logging.h +++ b/libglusterfs/src/logging.h @@ -183,7 +183,8 @@ _gf_log_callingfn(const char *domain, const char *file, const char *function,      __attribute__((__format__(__printf__, 6, 7)));  int -_gf_log_eh(const char *function, const char *fmt, ...); +_gf_log_eh(const char *function, const char *fmt, ...) +    __attribute__((__format__(__printf__, 2, 3)));  /* treat GF_LOG_TRACE and GF_LOG_NONE as LOG_DEBUG and   * other level as is */  | 
