From: Willem Jan Withagen Date: Fri, 16 Jun 2017 21:56:58 +0000 (+0200) Subject: common/freebsd_errno.cc: fixed again a stupid typo X-Git-Tag: v12.1.0~51^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7b95e81f7de1fddc3e4e01943ea3dfad7fc37d52;p=ceph.git common/freebsd_errno.cc: fixed again a stupid typo Signed-off-by: Willem Jan Withagen --- diff --git a/src/common/freebsd_errno.cc b/src/common/freebsd_errno.cc index cc89436a90bf..77f6df91e9b9 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 */