tools/cephfs: fix datascan kwarg parsing

Signed-off-by: John Spray <john.spray@redhat.com>
This commit is contained in:
John Spray 2015-07-24 14:57:01 +01:00 committed by Yan, Zheng
parent 786d111a97
commit 9e71abaa0a

View File

@ -52,7 +52,7 @@ bool DataScan::parse_kwarg(
}
const std::string arg(*i);
const std::string val(*(++i));
const std::string val(*(i + 1));
if (arg == std::string("--output-dir")) {
if (driver != NULL) {