mirror of
https://github.com/ceph/ceph
synced 2025-02-21 18:17:42 +00:00
tools/osdmaptool: fix error message if we are unable to parse pgid
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
This commit is contained in:
parent
c97ec99579
commit
6592046cc7
@ -310,8 +310,7 @@ int main(int argc, const char **argv)
|
||||
if (!test_map_pg.empty()) {
|
||||
pg_t pgid;
|
||||
if (!pgid.parse(test_map_pg.c_str())) {
|
||||
cerr << me << ": failed to parse pg '" << test_map_pg
|
||||
<< "', r = " << r << std::endl;
|
||||
cerr << me << ": failed to parse pg '" << test_map_pg << std::endl;
|
||||
usage();
|
||||
}
|
||||
cout << " parsed '" << test_map_pg << "' -> " << pgid << std::endl;
|
||||
|
Loading…
Reference in New Issue
Block a user