diff options
author | 2002-08-07 21:22:55 +0000 | |
---|---|---|
committer | 2002-08-07 21:22:55 +0000 | |
commit | a530c7f783b4160f1f4ea46275ece2f28dc9249a (patch) | |
tree | b8dc9f94110f65938fad34fa6d8f92c1d90d8ead /sys/dev/systrace.c | |
parent | fix the stupidest alloc/free piece of code ever; nate@ ok (diff) | |
download | wireguard-openbsd-a530c7f783b4160f1f4ea46275ece2f28dc9249a.tar.xz wireguard-openbsd-a530c7f783b4160f1f4ea46275ece2f28dc9249a.zip |
return EBUSY in processready
Diffstat (limited to 'sys/dev/systrace.c')
-rw-r--r-- | sys/dev/systrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/systrace.c b/sys/dev/systrace.c index 88b3aeb5165..3c6e4d6d155 100644 --- a/sys/dev/systrace.c +++ b/sys/dev/systrace.c @@ -892,10 +892,10 @@ int systrace_processready(struct str_process *strp) { if (ISSET(strp->flags, STR_PROC_ONQUEUE)) - return (EINVAL); + return (EBUSY); if (!ISSET(strp->flags, STR_PROC_WAITANSWER)) - return (EINVAL); + return (EBUSY); if (strp->proc->p_stat != SSLEEP) return (EBUSY); |