]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common/freebsd_errno.cc: fixed again a stupid typo 15742/head
authorWillem Jan Withagen <wjw@digiware.nl>
Fri, 16 Jun 2017 21:56:58 +0000 (23:56 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Fri, 16 Jun 2017 21:59:44 +0000 (23:59 +0200)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/common/freebsd_errno.cc

index cc89436a90bf2bcd9d43ce138fbf942b4cdb24c9..77f6df91e9b921c5027a30856dbd2ff4ddb564be 100644 (file)
@@ -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 */