From 3ae9ca7c2ba8cca30df6829aee4d4e3d4fb24c7a Mon Sep 17 00:00:00 2001 From: Larry Doolittle Date: Fri, 8 Nov 2024 10:30:11 -0800 Subject: [PATCH] drivertools.h: switch from log_assert(0) to log_abort() for new feature --- kernel/drivertools.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/drivertools.h b/kernel/drivertools.h index 21b5505d8..8929c3426 100644 --- a/kernel/drivertools.h +++ b/kernel/drivertools.h @@ -386,7 +386,7 @@ public: inner = multiple_.hash(); break; default: - log_assert(0); + log_abort(); break; } return mkhash((unsigned int)type_, inner); @@ -937,7 +937,7 @@ public: inner = multiple_.hash(); break; default: - log_assert(0); + log_abort(); break; } return mkhash((unsigned int)type_, inner);