On Wed, Aug 13, 2025 at 09:01:56AM +0100, Colin Ian King wrote:
> There are spelling mistakes in perror message. Fix these.

Oops :) I am the typo master, apparently...

>
> Signed-off-by: Colin Ian King <colin.i.k...@gmail.com>
> ---
>  tools/testing/selftests/mm/mremap_test.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tools/testing/selftests/mm/mremap_test.c 
> b/tools/testing/selftests/mm/mremap_test.c
> index 5bd52a951cbd..e289bb1112db 100644
> --- a/tools/testing/selftests/mm/mremap_test.c
> +++ b/tools/testing/selftests/mm/mremap_test.c
> @@ -846,7 +846,7 @@ static void mremap_move_multi_invalid_vmas(FILE *maps_fp,
>       }
>       if (err != EFAULT) {
>               errno = err;
> -             perror("mrmeap() unexpected error");
> +             perror("mremap() unexpected error");
>               success = false;
>               goto out_unmap;
>       }
> @@ -899,7 +899,7 @@ static void mremap_move_multi_invalid_vmas(FILE *maps_fp,
>       }
>       if (err != EFAULT) {
>               errno = err;
> -             perror("mrmeap() unexpected error");
> +             perror("remapp() unexpected error");

Typo in the typo fixup :P should be:

                perror("mremap() unexpected error");

>               success = false;
>               goto out_unmap;
>       }
> @@ -948,7 +948,7 @@ static void mremap_move_multi_invalid_vmas(FILE *maps_fp,
>       }
>       if (err != EFAULT) {
>               errno = err;
> -             perror("mrmeap() unexpected error");
> +             perror("remapp() unexpected error");

Equally should be:

                perror("mremap() unexpected error");

>               success = false;
>               goto out_unmap;
>       }
> --
> 2.50.1
>

Cheers, Lorenzo

Reply via email to