Re: git: dedc71fd3890 - main - libc: unsplit log message to to make it greppable in src

From: Jessica Clarke <jrtc27_at_freebsd.org>
Date: Sat, 05 Aug 2023 02:11:36 UTC
On 5 Aug 2023, at 02:00, Ed Maste <emaste@FreeBSD.org> wrote:
> 
> The branch main has been updated by emaste:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=dedc71fd3890803a81047a0c480b95a327bd7214
> 
> commit dedc71fd3890803a81047a0c480b95a327bd7214
> Author:     Ed Maste <emaste@FreeBSD.org>
> AuthorDate: 2023-04-17 15:58:59 +0000
> Commit:     Ed Maste <emaste@FreeBSD.org>
> CommitDate: 2023-08-05 00:59:30 +0000
> 
>    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.

This doesn’t match the commit?

Jess

>    Reviewed by:    zlei
>    Sponsored by:   The FreeBSD Foundation
>    Differential Revision: https://reviews.freebsd.org/D39619
> ---
> lib/libc/stdlib/cxa_thread_atexit_impl.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/lib/libc/stdlib/cxa_thread_atexit_impl.c b/lib/libc/stdlib/cxa_thread_atexit_impl.c
> index 0f0a7a314fa9..cdd918e2c496 100644
> --- a/lib/libc/stdlib/cxa_thread_atexit_impl.c
> +++ b/lib/libc/stdlib/cxa_thread_atexit_impl.c
> @@ -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