aboutsummaryrefslogtreecommitdiff
path: root/hw/mem
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2023-11-14 19:11:33 +0300
committerMichael Tokarev <mjt@tls.msk.ru>2023-11-15 11:59:54 +0300
commitd1c2fbc9c173e315f10e718a7ad78cb3a71f3bab (patch)
tree13bd9eef8160b152a5f7e44d5cefe252cfa41f9d /hw/mem
parent1a9c9a6f8a97914133901af9ee56f7520a447189 (diff)
hw/mem/memory-device.c: spelling fix: ontaining
Fixes: 6c1b28e9e405 "memory-device: Support empty memory devices" Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/mem')
-rw-r--r--hw/mem/memory-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mem/memory-device.c b/hw/mem/memory-device.c
index e0704b8dc3..a1b1af26bc 100644
--- a/hw/mem/memory-device.c
+++ b/hw/mem/memory-device.c
@@ -29,7 +29,7 @@ static bool memory_device_is_empty(const MemoryDeviceState *md)
/* dropping const here is fine as we don't touch the memory region */
mr = mdc->get_memory_region((MemoryDeviceState *)md, &local_err);
if (local_err) {
- /* Not empty, we'll report errors later when ontaining the MR again. */
+ /* Not empty, we'll report errors later when containing the MR again. */
error_free(local_err);
return false;
}