Skip to content

Commit 3ae9ca7

Browse files
committed
drivertools.h: switch from log_assert(0) to log_abort() for new feature
1 parent d36a387 commit 3ae9ca7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/drivertools.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ struct DriveBit
386386
inner = multiple_.hash();
387387
break;
388388
default:
389-
log_assert(0);
389+
log_abort();
390390
break;
391391
}
392392
return mkhash((unsigned int)type_, inner);
@@ -937,7 +937,7 @@ struct DriveChunk
937937
inner = multiple_.hash();
938938
break;
939939
default:
940-
log_assert(0);
940+
log_abort();
941941
break;
942942
}
943943
return mkhash((unsigned int)type_, inner);

0 commit comments

Comments
 (0)