Merge branch 'master' of github.com:tmux/tmux

pull/757/merge
Nicholas Marriott 2017-02-06 10:06:14 +00:00
commit 50f25a8f05
1 changed files with 2 additions and 0 deletions

2
log.c
View File

@ -133,6 +133,7 @@ fatal(const char *msg, ...)
if (asprintf(&fmt, "fatal: %s: %s", msg, strerror(errno)) == -1)
exit(1);
log_vwrite(fmt, ap);
va_end(ap);
exit(1);
}
@ -147,5 +148,6 @@ fatalx(const char *msg, ...)
if (asprintf(&fmt, "fatal: %s", msg) == -1)
exit(1);
log_vwrite(fmt, ap);
va_end(ap);
exit(1);
}