diff options
author | Christian Schoenebeck <qemu_oss@crudebyte.com> | 2024-11-24 14:34:31 +0100 |
---|---|---|
committer | Christian Schoenebeck <qemu_oss@crudebyte.com> | 2024-11-28 18:54:00 +0100 |
commit | abf0f092c1dd33b9ffa986c6924addc0a9c1d0b8 (patch) | |
tree | 0761ca55978f924e267de56668f3e21218fa6725 /tests/qtest | |
parent | 462db8fb1d405391b83a0d3099fdb9bfb85c2d92 (diff) | |
download | qemu-abf0f092c1dd33b9ffa986c6924addc0a9c1d0b8.zip qemu-abf0f092c1dd33b9ffa986c6924addc0a9c1d0b8.tar.gz qemu-abf0f092c1dd33b9ffa986c6924addc0a9c1d0b8.tar.bz2 |
tests/9p: fix Rreaddir response name
All 9p response types are prefixed with an "R", therefore fix
"READDIR" -> "RREADDIR" in function rmessage_name().
Fixes: 4829469fd9ff ("tests/virtio-9p: added readdir test")
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Message-Id: <daad7af58b403aaa2487c566032beca36664b30e.1732465720.git.qemu_oss@crudebyte.com>
Diffstat (limited to 'tests/qtest')
-rw-r--r-- | tests/qtest/libqos/virtio-9p-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/libqos/virtio-9p-client.c b/tests/qtest/libqos/virtio-9p-client.c index b8adc8d..c61632f 100644 --- a/tests/qtest/libqos/virtio-9p-client.c +++ b/tests/qtest/libqos/virtio-9p-client.c @@ -238,7 +238,7 @@ static const char *rmessage_name(uint8_t id) id == P9_RLINK ? "RLINK" : id == P9_RUNLINKAT ? "RUNLINKAT" : id == P9_RFLUSH ? "RFLUSH" : - id == P9_RREADDIR ? "READDIR" : + id == P9_RREADDIR ? "RREADDIR" : "<unknown>"; } |