From: jasper Date: Thu, 6 Jul 2023 10:53:11 +0000 (+0000) Subject: if panic() is meant, use panic() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=87a0f9ae9d29153d388f0318f0022bc7fcd8f456;p=openbsd if panic() is meant, use panic() ok mpi@ --- diff --git a/sys/dev/dt/dt_prov_kprobe.c b/sys/dev/dt/dt_prov_kprobe.c index 78a04b43137..c506b6908d3 100644 --- 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 @@ -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--;