mirror of
https://github.com/tmux/tmux.git
synced 2024-11-19 19:08:50 +00:00
Fix warnings. Doh.
This commit is contained in:
parent
d3c842d367
commit
7ad052583a
3
log.c
3
log.c
@ -39,6 +39,7 @@ FILE *log_file;
|
|||||||
/* Debug level. */
|
/* Debug level. */
|
||||||
int log_level;
|
int log_level;
|
||||||
|
|
||||||
|
void log_event_cb(int, const char *);
|
||||||
void log_vwrite(int, const char *, va_list);
|
void log_vwrite(int, const char *, va_list);
|
||||||
__dead void log_vfatal(const char *, va_list);
|
__dead void log_vfatal(const char *, va_list);
|
||||||
|
|
||||||
@ -46,7 +47,7 @@ __dead void log_vfatal(const char *, va_list);
|
|||||||
void
|
void
|
||||||
log_event_cb(unused int severity, const char *msg)
|
log_event_cb(unused int severity, const char *msg)
|
||||||
{
|
{
|
||||||
log_warnx(msg);
|
log_warnx("%s", msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Open logging to tty. */
|
/* Open logging to tty. */
|
||||||
|
Loading…
Reference in New Issue
Block a user