diff options
author | Willem Jan Withagen <wjw@digiware.nl> | 2017-06-05 20:24:58 +0200 |
---|---|---|
committer | Willem Jan Withagen <wjw@digiware.nl> | 2017-06-09 10:14:45 +0200 |
commit | 8392c255239438dcbbabf46532cc33ee9f89ab12 (patch) | |
tree | c8ee079c29dc3bb63438bb160a2715d6429b42d7 /src/common/darwin_errno.cc | |
parent | Merge pull request #15557 from liewegas/wip-mgr-respawn (diff) | |
download | ceph-8392c255239438dcbbabf46532cc33ee9f89ab12.tar.xz ceph-8392c255239438dcbbabf46532cc33ee9f89ab12.zip |
core: introduce (and fix) code to pass errno to other OSes
- Some of the errno conversions were lost in the conversion
to Cmake config
- rename ceph_to_host_errno to _ceph_to_hostos_errno
to indicate that the errnos are define per OS.
This is the second part, creating the basics.
Next it needs to be glued into communication with the peers.
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Diffstat (limited to 'src/common/darwin_errno.cc')
-rw-r--r-- | src/common/darwin_errno.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/darwin_errno.cc b/src/common/darwin_errno.cc index 48372d09035..39c69c2a7ed 100644 --- a/src/common/darwin_errno.cc +++ b/src/common/darwin_errno.cc @@ -18,7 +18,7 @@ // converts from linux errno values to host values -__s32 ceph_to_host_errno(__s32 r) +__s32 ceph_to_hostos_errno(__s32 r) { if (r < -34) { switch (r) { |