tests/9p: fix Rreaddir response name

All 9p response types are prefixed with an "R", therefore fix
"READDIR" -> "RREADDIR" in function rmessage_name().

Fixes: 4829469fd9 ("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>
This commit is contained in:
Christian Schoenebeck 2024-11-24 14:34:31 +01:00
parent 462db8fb1d
commit abf0f092c1
1 changed files with 1 additions and 1 deletions

View File

@ -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>";
}