osdmaptool: don't put progress on stdout

If one requests JSON output, the progress message pollutes the output;
don't do that, send it to stderr instead

Signed-off-by: Dan Mick <dan.mick@inktank.com>
This commit is contained in:
Dan Mick 2013-11-05 16:11:10 -08:00
parent 154ee0b034
commit c22c84a88c

View File

@ -156,7 +156,7 @@ int main(int argc, const char **argv)
OSDMap osdmap;
bufferlist bl;
cout << me << ": osdmap file '" << fn << "'" << std::endl;
cerr << me << ": osdmap file '" << fn << "'" << std::endl;
int r = 0;
struct stat st;