mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-13 18:30:44 +00:00
Use memset instead of bzero
This commit is contained in:
parent
274e380b34
commit
c54ec7be2d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user