hw/elf_ops: Fix a typo
PATCH 1/1 hw/elf_ops: Fix a typo
g_mapped_file_new_from_fd()'s parameter is named 'writable'.
Signed-off-by Philippe Mathieu-Daudé <[email protected]>
--- include/hw/elf_ops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/hw/elf_ops.h +1 -1
@@ -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 );
Signature · 1 line
2.26.2
Quoted 12 lines · Philippe Mathieu-Daudé
g_mapped_file_new_from_fd()'s parameter is named 'writable'.
Signed-off-by Philippe Mathieu-Daudé <[email protected]>---
include/hw/elf_ops.h| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)include/hw/elf_ops.h +0
-0
include/hw/elf_ops.h static int glue(load_elf, SZ)(const char *name, int fd, · line 420
Quoted 5 lines
include/hw/elf_ops.h +1
-1@@ -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
Oooops :-)
Reviewed-by Stefano Garzarella <[email protected]>
Quoted 3 lines · Philippe Mathieu-Daudé
g_mapped_file_new_from_fd()'s parameter is named 'writable'.
Signed-off-by Philippe Mathieu-Daudé <[email protected]>
Reviewed-by David Edmondson <[email protected]>
Quoted 19 lines
--- include/hw/elf_ops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/hw/elf_ops.h +1
-1@@ -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 );Signature · 1 line
2.26.2
dme.
Signature · 1 line
I've always been mad, I know I've been mad, like the most of us are.
Laurent Vivier
AppliedLe 25/02/2021 à 19:13, Philippe Mathieu-Daudé a écrit :
Quoted 13 lines
g_mapped_file_new_from_fd()'s parameter is named 'writable'.
Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- include/hw/elf_ops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/hw/elf_ops.h +0
-0
include/hw/elf_ops.h static int glue(load_elf, SZ)(const char *name, int fd, · line 423
Quoted 8 lines
include/hw/elf_ops.h +1
-1@@ -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 );
Applied to my trivial-patches branch.
Thanks,
Laurent