From 7b95e81f7de1fddc3e4e01943ea3dfad7fc37d52 Mon Sep 17 00:00:00 2001 From: Willem Jan Withagen Date: Fri, 16 Jun 2017 23:56:58 +0200 Subject: [PATCH] common/freebsd_errno.cc: fixed again a stupid typo Signed-off-by: Willem Jan Withagen --- src/common/freebsd_errno.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/freebsd_errno.cc b/src/common/freebsd_errno.cc index cc89436a90b..77f6df91e9b 100644 --- a/src/common/freebsd_errno.cc +++ b/src/common/freebsd_errno.cc @@ -23,7 +23,7 @@ // and the Linux error as value // Use the fact that the arry is initialised per default on all 0's // And we do not translate for 0's, but return the original value. -static const__s32 hostos_to_ceph_conv[256] = { +static const __s32 ceph_to_hostos_conv[256] = { // Linux errno FreeBSD errno C2H_ERRNO(11, EAGAIN), C2H_ERRNO(35, EDEADLK), @@ -129,7 +129,7 @@ static const__s32 hostos_to_ceph_conv[256] = { // and the Linux error as value // Use the fact that the arry is initialised per default on all 0's // And we do not translate for 0's, but return the original value. -static const__s32 hostos_to_ceph_conv[256] = { +static const __s32 hostos_to_ceph_conv[256] = { // FreeBSD errno Linux errno H2C_ERRNO(EDEADLK, 35), /* Resource deadlock avoided */ H2C_ERRNO(EAGAIN, 11), /* Resource temporarily unavailable */ -- 2.39.5