[v7,3/3] sysdeps/ieee754/ldbl-128ibm-compat/test-printf-chk-ldbl-compat.c: Fix typo

Message ID afc64e006174df96ee237444995135f6b0e3f41a.1780138567.git.alx@kernel.org (mailing list archive)
State Committed
Headers
Series Add [v]aprintf(3) |

Checks

Context Check Description
redhat-pt-bot/TryBot-apply_patch success Patch applied to master at the time it was sent
linaro-tcwg-bot/tcwg_glibc_build--master-arm success Build passed
redhat-pt-bot/TryBot-32bit fail Patch caused testsuite regressions
linaro-tcwg-bot/tcwg_glibc_check--master-arm fail Test failed
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 success Build passed
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 fail Test failed

Commit Message

Alejandro Colomar May 30, 2026, 10:59 a.m. UTC
  Signed-off-by: Alejandro Colomar <alx@kernel.org>
---
 .../ieee754/ldbl-128ibm-compat/test-printf-chk-ldbl-compat.c    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Carlos O'Donell June 1, 2026, 1:17 p.m. UTC | #1
On 5/30/26 6:59 AM, Alejandro Colomar wrote:
> Signed-off-by: Alejandro Colomar <alx@kernel.org>
> ---
>   .../ieee754/ldbl-128ibm-compat/test-printf-chk-ldbl-compat.c    | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/test-printf-chk-ldbl-compat.c b/sysdeps/ieee754/ldbl-128ibm-compat/test-printf-chk-ldbl-compat.c
> index 92cdafd31978..aa86741b5de5 100644
> --- a/sysdeps/ieee754/ldbl-128ibm-compat/test-printf-chk-ldbl-compat.c
> +++ b/sysdeps/ieee754/ldbl-128ibm-compat/test-printf-chk-ldbl-compat.c
> @@ -115,7 +115,7 @@ do_test_call_rarg (FILE *stream, const char *format, long double ld,
>     buffer = NULL;
>     res = __asprintf_chk (&buffer, 1, format, ld, d);
>     if (res == -1)
> -    printf ("Error using vasprintf\n");
> +    printf ("Error using asprintf\n");
>     if (buffer == NULL)
>       printf ("Error using asprintf\n");
>     else

Since this is a simple typo fix please split this out so we can just commit this?
  
Alejandro Colomar June 1, 2026, 9:09 p.m. UTC | #2
Hi Carlos,

On 2026-06-01T09:17:24-0400, Carlos O'Donell wrote:
> On 5/30/26 6:59 AM, Alejandro Colomar wrote:
> > Signed-off-by: Alejandro Colomar <alx@kernel.org>
> > ---
> >   .../ieee754/ldbl-128ibm-compat/test-printf-chk-ldbl-compat.c    | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/test-printf-chk-ldbl-compat.c b/sysdeps/ieee754/ldbl-128ibm-compat/test-printf-chk-ldbl-compat.c
> > index 92cdafd31978..aa86741b5de5 100644
> > --- a/sysdeps/ieee754/ldbl-128ibm-compat/test-printf-chk-ldbl-compat.c
> > +++ b/sysdeps/ieee754/ldbl-128ibm-compat/test-printf-chk-ldbl-compat.c
> > @@ -115,7 +115,7 @@ do_test_call_rarg (FILE *stream, const char *format, long double ld,
> >     buffer = NULL;
> >     res = __asprintf_chk (&buffer, 1, format, ld, d);
> >     if (res == -1)
> > -    printf ("Error using vasprintf\n");
> > +    printf ("Error using asprintf\n");
> >     if (buffer == NULL)
> >       printf ("Error using asprintf\n");
> >     else
> 
> Since this is a simple typo fix please split this out so we can just commit this?

Yup; you're welcome to take it separately.  Do you need me to resend
separately?  Or can you take it from here?


Have a lovely night!
Alex

> 
> -- 
> Cheers,
> Carlos.
>
  
Adhemerval Zanella Netto June 3, 2026, 2:10 p.m. UTC | #3
On 01/06/26 18:09, Alejandro Colomar wrote:
> Hi Carlos,
> 
> On 2026-06-01T09:17:24-0400, Carlos O'Donell wrote:
>> On 5/30/26 6:59 AM, Alejandro Colomar wrote:
>>> Signed-off-by: Alejandro Colomar <alx@kernel.org>
>>> ---
>>>   .../ieee754/ldbl-128ibm-compat/test-printf-chk-ldbl-compat.c    | 2 +-
>>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/test-printf-chk-ldbl-compat.c b/sysdeps/ieee754/ldbl-128ibm-compat/test-printf-chk-ldbl-compat.c
>>> index 92cdafd31978..aa86741b5de5 100644
>>> --- a/sysdeps/ieee754/ldbl-128ibm-compat/test-printf-chk-ldbl-compat.c
>>> +++ b/sysdeps/ieee754/ldbl-128ibm-compat/test-printf-chk-ldbl-compat.c
>>> @@ -115,7 +115,7 @@ do_test_call_rarg (FILE *stream, const char *format, long double ld,
>>>     buffer = NULL;
>>>     res = __asprintf_chk (&buffer, 1, format, ld, d);
>>>     if (res == -1)
>>> -    printf ("Error using vasprintf\n");
>>> +    printf ("Error using asprintf\n");
>>>     if (buffer == NULL)
>>>       printf ("Error using asprintf\n");
>>>     else
>>
>> Since this is a simple typo fix please split this out so we can just commit this?
> 
> Yup; you're welcome to take it separately.  Do you need me to resend
> separately?  Or can you take it from here?
> 
LGTM, thanks.  I will install it.
  

Patch

diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/test-printf-chk-ldbl-compat.c b/sysdeps/ieee754/ldbl-128ibm-compat/test-printf-chk-ldbl-compat.c
index 92cdafd31978..aa86741b5de5 100644
--- a/sysdeps/ieee754/ldbl-128ibm-compat/test-printf-chk-ldbl-compat.c
+++ b/sysdeps/ieee754/ldbl-128ibm-compat/test-printf-chk-ldbl-compat.c
@@ -115,7 +115,7 @@  do_test_call_rarg (FILE *stream, const char *format, long double ld,
   buffer = NULL;
   res = __asprintf_chk (&buffer, 1, format, ld, d);
   if (res == -1)
-    printf ("Error using vasprintf\n");
+    printf ("Error using asprintf\n");
   if (buffer == NULL)
     printf ("Error using asprintf\n");
   else