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 <f.gruenbichler@proxmox.com>
---
Stumbled upon this while browsing through the code for unrelated reasons..
qga/commands.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qga/commands.c b/qga/commands.c
index 5f20af25d3476ebda08989c91d82c22aafdf5fac..666341a909d2c0cbffb50761126f76f8508af163 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;