artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d262a0
)
Correct previous, must exit 0 to signal failure.
author
anton
<anton@openbsd.org>
Tue, 6 Dec 2022 09:37:20 +0000
(09:37 +0000)
committer
anton
<anton@openbsd.org>
Tue, 6 Dec 2022 09:37:20 +0000
(09:37 +0000)
regress/sys/uvm/wx_syscall/wx_syscall.c
patch
|
blob
|
history
diff --git
a/regress/sys/uvm/wx_syscall/wx_syscall.c
b/regress/sys/uvm/wx_syscall/wx_syscall.c
index
b272f2c
..
c4531a4
100644
(file)
--- a/
regress/sys/uvm/wx_syscall/wx_syscall.c
+++ b/
regress/sys/uvm/wx_syscall/wx_syscall.c
@@
-20,10
+20,10
@@
main()
if (errno == ENOTSUP) {
printf("mprotect -> ENOTSUP? Please run from "
"wxallowed filesystem\n");
- exit(0);
} else {
-
err(1,
"mprotect");
+
warn(
"mprotect");
}
+ exit(0);
}
flock(0, 0);