libio/tst-getdelim: fix verbose print
Checks
Context |
Check |
Description |
redhat-pt-bot/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
redhat-pt-bot/TryBot-32bit |
success
|
Build for i686
|
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 |
success
|
Build passed
|
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 |
success
|
Test passed
|
linaro-tcwg-bot/tcwg_glibc_build--master-arm |
success
|
Build passed
|
linaro-tcwg-bot/tcwg_glibc_check--master-arm |
success
|
Test passed
|
Commit Message
Print "null character" instead of the "NUL" abbreviation.
---
libio/tst-getdelim.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
* 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
@@ -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";