From 55b9f8bbe5aea796331c1d43213ab5971a56ec6a Mon Sep 17 00:00:00 2001 From: dingusdev <52434309+dingusdev@users.noreply.github.com> Date: Mon, 1 Apr 2024 08:03:12 -0700 Subject: [PATCH] bzero -> memset --- devices/common/scsi/scsihd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices/common/scsi/scsihd.cpp b/devices/common/scsi/scsihd.cpp index 193f6e0..b978e38 100644 --- a/devices/common/scsi/scsihd.cpp +++ b/devices/common/scsi/scsihd.cpp @@ -288,7 +288,7 @@ void ScsiHardDisk::inquiry() { 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;