Skip to content

Commit

Permalink
dprint: fix compile time printf checking
Browse files Browse the repository at this point in the history
(cherry picked from commit 93e88f2)
  • Loading branch information
razvancrainea committed Aug 8, 2023
1 parent f44d7c9 commit 442a08c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dprint.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ int dp_my_pid(void);
void stderr_dprint_tmp(char *format, ...);

void dprint(int log_level, int facility, char *module, const char *func,
char *stderr_fmt, char *syslog_fmt, char *format, ...);
char *stderr_fmt, char *syslog_fmt, char *format, ...)
__attribute__ ((__format__ (__printf__, 5, 8)));

int str2facility(char *s);

Expand Down

0 comments on commit 442a08c

Please sign in to comment.