diff --git a/devices/common/scsi/scsicdrom.cpp b/devices/common/scsi/scsicdrom.cpp index f41935b..f531985 100644 --- a/devices/common/scsi/scsicdrom.cpp +++ b/devices/common/scsi/scsicdrom.cpp @@ -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;