]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
libcephfs: fix incorrectly set errno
authorxie xingguo <xie.xingguo@zte.com.cn>
Sat, 18 Jun 2016 06:03:48 +0000 (14:03 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Sat, 18 Jun 2016 06:03:48 +0000 (14:03 +0800)
commit5377d8727172a1ac8a069c24f88b78601400427b
tree183250c33782e85a8c84c58868243046d131d288
parentdbb0a59c88708c532aced95909d3dca795bdfd7a
libcephfs: fix incorrectly set errno

POSIX asks for positive errno, so a negative errno won't
be portable and can get weird respondings.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/libcephfs.cc