libc: unsplit log message to to make it greppable in src

Also use __func__ rather than hardcoding the function name.  This code
now fits in 80 columns without splitting the log message.

Reviewed by:	zlei
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D39619
This commit is contained in:
Ed Maste 2023-04-17 11:58:59 -04:00
parent 452661c967
commit dedc71fd38

View File

@ -109,8 +109,9 @@ walk_cb_call(struct cxa_thread_dtor *dtor)
__elf_phdr_match_addr(&phdr_info, dtor->func))
dtor->func(dtor->obj);
else
fprintf(stderr, "__cxa_thread_call_dtors: dtr %p from "
"unloaded dso, skipping\n", (void *)(dtor->func));
fprintf(stderr,
"__cxa_thread_call_dtors: dtr %p from unloaded dso, skipping\n",
(void *)(dtor->func));
}
static void