artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfb9c3a
)
if panic() is meant, use panic()
author
jasper
<jasper@openbsd.org>
Thu, 6 Jul 2023 10:53:11 +0000
(10:53 +0000)
committer
jasper
<jasper@openbsd.org>
Thu, 6 Jul 2023 10:53:11 +0000
(10:53 +0000)
ok mpi@
sys/dev/dt/dt_prov_kprobe.c
patch
|
blob
|
history
diff --git
a/sys/dev/dt/dt_prov_kprobe.c
b/sys/dev/dt/dt_prov_kprobe.c
index
78a04b4
..
c506b69
100644
(file)
--- a/
sys/dev/dt/dt_prov_kprobe.c
+++ b/
sys/dev/dt/dt_prov_kprobe.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: dt_prov_kprobe.c,v 1.
6 2023/07/04 12:27:44
jasper Exp $ */
+/* $OpenBSD: dt_prov_kprobe.c,v 1.
7 2023/07/06 10:53:11
jasper Exp $ */
/*
* Copyright (c) 2020 Tom Rollet <tom.rollet@epita.fr>
@@
-289,7
+289,7
@@
dt_prov_kprobe_dealloc(struct dt_probe *dtp, struct dt_softc *sc,
size = POP_RBP_SIZE;
#endif
} else
-
KASSERT(0 &&
"Trying to dealloc not yet implemented probe type");
+
panic(
"Trying to dealloc not yet implemented probe type");
dtp->dtp_ref--;