mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-16 16:41:35 +02:00
Sync the entire xmalloc.[ch] with the other users, but with the addition
of xrealloc, xvasprintf, xvsnprintf.
This commit is contained in:
4
log.c
4
log.c
@ -102,7 +102,7 @@ log_debug(const char *msg, ...)
|
||||
|
||||
/* Log a critical error with error string and die. */
|
||||
__dead void
|
||||
log_fatal(const char *msg, ...)
|
||||
fatal(const char *msg, ...)
|
||||
{
|
||||
char *fmt;
|
||||
va_list ap;
|
||||
@ -116,7 +116,7 @@ log_fatal(const char *msg, ...)
|
||||
|
||||
/* Log a critical error and die. */
|
||||
__dead void
|
||||
log_fatalx(const char *msg, ...)
|
||||
fatalx(const char *msg, ...)
|
||||
{
|
||||
char *fmt;
|
||||
va_list ap;
|
||||
|
Reference in New Issue
Block a user