summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/wd1000.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/wd1000.cpp')
-rw-r--r--src/devices/machine/wd1000.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/wd1000.cpp b/src/devices/machine/wd1000.cpp
index a1d969bf008..1b573fe0af9 100644
--- a/src/devices/machine/wd1000.cpp
+++ b/src/devices/machine/wd1000.cpp
@@ -603,7 +603,7 @@ void wd1000_device::cmd_format_sector()
for (int i = 0; i < m_sector_count; i++)
{
- bzero(buffer, sizeof(buffer));
+ std::fill(std::begin(buffer), std::end(buffer), 0);
hard_disk_write(file, get_lbasector(), buffer);
}