artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cd2045
)
Yet another errno correction.
author
anton
<anton@openbsd.org>
Mon, 27 Dec 2021 15:38:25 +0000
(15:38 +0000)
committer
anton
<anton@openbsd.org>
Mon, 27 Dec 2021 15:38:25 +0000
(15:38 +0000)
sys/dev/kcov.c
patch
|
blob
|
history
diff --git
a/sys/dev/kcov.c
b/sys/dev/kcov.c
index
ec24374
..
0a130fd
100644
(file)
--- a/
sys/dev/kcov.c
+++ b/
sys/dev/kcov.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: kcov.c,v 1.4
1 2021/12/21 06:08:57
anton Exp $ */
+/* $OpenBSD: kcov.c,v 1.4
2 2021/12/27 15:38:25
anton Exp $ */
/*
* Copyright (c) 2018 Anton Lindqvist <anton@openbsd.org>
@@
-319,7
+319,7
@@
kcovclose(dev_t dev, int flag, int mode, struct proc *p)
kd = kd_lookup(minor(dev));
if (kd == NULL) {
mtx_leave(&kcov_mtx);
- return (E
INVAL
);
+ return (E
NXIO
);
}
if (kd->kd_state == KCOV_STATE_TRACE && kd->kd_kr == NULL) {