[PATCH] libio/tst-getdelim: fix verbose print

Florian Weimer fweimer@redhat.com
Mon Aug 19 13:24:01 GMT 2024


* Frédéric Bérat:

> Print "null character" instead of the "NUL" abbreviation.
> ---
>  libio/tst-getdelim.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libio/tst-getdelim.c b/libio/tst-getdelim.c
> index db15bf9285..19191dec3f 100644
> --- a/libio/tst-getdelim.c
> +++ b/libio/tst-getdelim.c
> @@ -37,7 +37,7 @@ do_test (void)
>    TEST_VERIFY (errno == EINVAL);
>  
>    /* Test getdelim with NUL as delimiter */
> -  verbose_printf ("Testing NUL delimiter\n");
> +  verbose_printf ("Testing null character delimiter\n");
>    char *lineptr = NULL;
>    size_t linelen = 0;
>    char membuf[] = "abc\0d\nef\0";

I assume Andreas suggested to change both occurrences?

Thanks,
Florian



More information about the Libc-alpha mailing list