From: Christian Schoenebeck Date: Sun, 24 Nov 2024 13:34:31 +0000 (+0100) Subject: tests/9p: fix Rreaddir response name X-Git-Tag: v7.2.16~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=039fdd09b43bd245d852ad4c261827c20f7f99b7;p=thirdparty%2Fqemu.git 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 Reviewed-by: Greg Kurz Message-Id: (cherry picked from commit abf0f092c1dd33b9ffa986c6924addc0a9c1d0b8) Signed-off-by: Michael Tokarev --- diff --git a/tests/qtest/libqos/virtio-9p-client.c b/tests/qtest/libqos/virtio-9p-client.c index e4a368e0366..a9eb1876f0e 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" : ""; }