Skip to content

Commit

Permalink
drivertools.h: switch from log_assert(0) to log_abort() for new feature
Browse files Browse the repository at this point in the history
  • Loading branch information
ldoolitt committed Nov 8, 2024
1 parent d36a387 commit 3ae9ca7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/drivertools.h
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ struct DriveBit
inner = multiple_.hash();
break;
default:
log_assert(0);
log_abort();
break;
}
return mkhash((unsigned int)type_, inner);
Expand Down Expand Up @@ -937,7 +937,7 @@ struct DriveChunk
inner = multiple_.hash();
break;
default:
log_assert(0);
log_abort();
break;
}
return mkhash((unsigned int)type_, inner);
Expand Down

0 comments on commit 3ae9ca7

Please sign in to comment.