git: 3b0f105ce38e - main - shared_shadow_inval_test: fix copy-pasto in error message

From: Eric van Gyzen <vangyzen_at_FreeBSD.org>
Date: Wed, 24 Aug 2022 18:05:30 UTC
The branch main has been updated by vangyzen:

URL: https://cgit.FreeBSD.org/src/commit/?id=3b0f105ce38e79f91ac0950fb283e0868bff42cf

commit 3b0f105ce38e79f91ac0950fb283e0868bff42cf
Author:     Eric van Gyzen <vangyzen@FreeBSD.org>
AuthorDate: 2022-08-24 17:59:48 +0000
Commit:     Eric van Gyzen <vangyzen@FreeBSD.org>
CommitDate: 2022-08-24 18:03:11 +0000

    shared_shadow_inval_test: fix copy-pasto in error message
    
    MFC after:      1 week
    Sponsored by:   Dell EMC Isilon
---
 tests/sys/vm/shared_shadow_inval_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/sys/vm/shared_shadow_inval_test.c b/tests/sys/vm/shared_shadow_inval_test.c
index c3a62296ffa4..761a7ce16cf0 100644
--- a/tests/sys/vm/shared_shadow_inval_test.c
+++ b/tests/sys/vm/shared_shadow_inval_test.c
@@ -203,7 +203,7 @@ child(struct shared_state *ss, int depth)
 		child_write(ss, mypid, ss->len);
 		if (!ss->lazy_cow) {
 			if (mlock(ss->p, ss->len) == -1)
-				child_err("mprotect");
+				child_err("mlock");
 			if (mprotect(ss->p, ss->len, PROT_READ) == -1)
 				child_err("mprotect");
 		}