From a10b77144a2899f691cc7a227e65fdc4b8f952d2 Mon Sep 17 00:00:00 2001 From: Nitzan Mordechai Date: Thu, 16 Oct 2025 14:00:14 +0000 Subject: [PATCH] include/types: Update set wire function parameter Fixes: https://tracker.ceph.com/issues/69814 Signed-off-by: Nitzan Mordechai --- src/include/types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/types.h b/src/include/types.h index bbe9ce9b2bf..cc888465196 100644 --- a/src/include/types.h +++ b/src/include/types.h @@ -541,8 +541,8 @@ struct errorcode32_t { return hostos_to_ceph_errno(code); } - inline void set_wire_to_host(code_t host_code) { - code = ceph_to_hostos_errno(host_code); + inline void set_wire_to_host(code_t wire_code) { + code = ceph_to_hostos_errno(wire_code); } void encode(ceph::buffer::list &bl) const { -- 2.39.5