Use memset instead of bzero

This commit is contained in:
dingusdev 2024-03-30 11:19:32 -07:00
parent 274e380b34
commit c54ec7be2d
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ void ScsiCdrom::inquiry() {
LOG_F(ERROR, "Inappropriate Allocation Length: %d", alloc_len);
}
else {
bzero(&this->data_buf[36], alloc_len - 36);
memset(&this->data_buf[36], 0, alloc_len - 36);
}
this->bytes_out = alloc_len;