Changeset View
Changeset View
Standalone View
Standalone View
libexec/rtld-elf/rtld.c
Show First 20 Lines • Show All 758 Lines • ▼ Show 20 Lines | |||||
{ | { | ||||
static char buf[512]; | static char buf[512]; | ||||
va_list ap; | va_list ap; | ||||
va_start(ap, fmt); | va_start(ap, fmt); | ||||
rtld_vsnprintf(buf, sizeof buf, fmt, ap); | rtld_vsnprintf(buf, sizeof buf, fmt, ap); | ||||
error_message = buf; | error_message = buf; | ||||
va_end(ap); | va_end(ap); | ||||
LD_UTRACE(UTRACE_RTLD_ERROR, NULL, NULL, 0, 0, error_message); | |||||
} | } | ||||
/* | /* | ||||
* Return a dynamically-allocated copy of the current error message, if any. | * Return a dynamically-allocated copy of the current error message, if any. | ||||
*/ | */ | ||||
static char * | static char * | ||||
errmsg_save(void) | errmsg_save(void) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 4,501 Lines • Show Last 20 Lines |