shared_shadow_inval_test: fix copy-pasto in error message
MFC after: 1 week Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
c46697b9cb
commit
3b0f105ce3
@ -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");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user