Skip to content

Commit a10b771

Browse files
committed
include/types: Update set wire function parameter
Fixes: https://tracker.ceph.com/issues/69814 Signed-off-by: Nitzan Mordechai <[email protected]>
1 parent 79e0f1a commit a10b771

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/types.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,8 +541,8 @@ struct errorcode32_t {
541541
return hostos_to_ceph_errno(code);
542542
}
543543

544-
inline void set_wire_to_host(code_t host_code) {
545-
code = ceph_to_hostos_errno(host_code);
544+
inline void set_wire_to_host(code_t wire_code) {
545+
code = ceph_to_hostos_errno(wire_code);
546546
}
547547

548548
void encode(ceph::buffer::list &bl) const {

0 commit comments

Comments
 (0)