diff options
author | Tommi Virtanen <tv@hq.newdream.net> | 2011-01-12 10:24:08 -0800 |
---|---|---|
committer | Tommi Virtanen <tv@hq.newdream.net> | 2011-01-12 10:24:08 -0800 |
commit | d3505a3818fa1a16904eb6f877872d377dd52671 (patch) | |
tree | bd9e4016af4188e981addf96ad059883411084ff /src/osdmaptool.cc | |
parent | fad097224cbb96065e256752b7afdfd51bb0fdf7 (diff) | |
download | ceph-d3505a3818fa1a16904eb6f877872d377dd52671.tar.gz |
Fix osdmaptool error reporting.
Diffstat (limited to 'src/osdmaptool.cc')
-rw-r--r-- | src/osdmaptool.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osdmaptool.cc b/src/osdmaptool.cc index 61265827b04..7e041fd650f 100644 --- a/src/osdmaptool.cc +++ b/src/osdmaptool.cc @@ -126,7 +126,7 @@ int main(int argc, const char **argv) } } else { - cerr << me << ": couldn't open " << fn << ": " << cpp_strerror(r) + cerr << me << ": couldn't open " << fn << ": " << cpp_strerror(-r) << std::endl; return -1; } |