From: Fabian Grünbichler <[email protected]>

seems to have been transformed from "read" to "write" during a refactor.

Fixes: ead83a136d54 "qga: Extract qmp_guest_file_read() to common commands.c"

Signed-off-by: Fabian Grünbichler <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Kostiantyn Kostiuk <[email protected]>
Link: 
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Kostiantyn Kostiuk <[email protected]>
---
 qga/commands.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qga/commands.c b/qga/commands.c
index 5f20af25d3..666341a909 100644
--- a/qga/commands.c
+++ b/qga/commands.c
@@ -626,7 +626,7 @@ GuestFileRead *qmp_guest_file_read(int64_t handle, bool 
has_count,
 
     read_data = guest_file_read_unsafe(gfh, count, errp);
     if (!read_data) {
-        slog("guest-file-write failed, handle: %" PRId64, handle);
+        slog("guest-file-read failed, handle: %" PRId64, handle);
     }
 
     return read_data;
-- 
2.54.0 (Apple Git-157)


Reply via email to