OSDN Git Service

hw/elf_ops: Fix a typo
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 25 Feb 2021 18:13:44 +0000 (19:13 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 9 Mar 2021 20:27:51 +0000 (21:27 +0100)
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>
include/hw/elf_ops.h

index 78409ab..6ee458e 100644 (file)
@@ -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);