aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2021-02-25 19:13:44 +0100
committerLaurent Vivier <laurent@vivier.eu>2021-03-09 21:27:51 +0100
commitf413e514a9133c1e63dae8f1f3a9ca0286c7a513 (patch)
tree3406cf903236e92c4c2e3f2db99fad3c2901686a /include
parente91bae8e98a6438156752dfbe9c0e2494d4b80f6 (diff)
downloadqemu-f413e514a9133c1e63dae8f1f3a9ca0286c7a513.zip
qemu-f413e514a9133c1e63dae8f1f3a9ca0286c7a513.tar.gz
qemu-f413e514a9133c1e63dae8f1f3a9ca0286c7a513.tar.bz2
hw/elf_ops: Fix a typo
g_mapped_file_new_from_fd()'s parameter is named 'writable'. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Reviewed-by: David Edmondson <dme@dme.org> Message-Id: <20210225181344.3623720-1-philmd@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include')
-rw-r--r--include/hw/elf_ops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/elf_ops.h b/include/hw/elf_ops.h
index 78409ab..6ee458e 100644
--- a/include/hw/elf_ops.h
+++ b/include/hw/elf_ops.h
@@ -417,7 +417,7 @@ static int glue(load_elf, SZ)(const char *name, int fd,
/*
* Since we want to be able to modify the mapped buffer, we set the
- * 'writeble' parameter to 'true'. Modifications to the buffer are not
+ * 'writable' parameter to 'true'. Modifications to the buffer are not
* written back to the file.
*/
mapped_file = g_mapped_file_new_from_fd(fd, true, NULL);