bdev/raid: raid_bdev_add_base_device: fix wrong param in log

And adjust language a little, by the way

Change-Id: I6bd6412a061657b23c4fd2e2db265da56b823514
Signed-off-by: wuzhouhui <wuzhouhui@kingsoft.com>
Reviewed-on: https://review.gerrithub.io/431581
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
wuzhouhui 2018-10-30 22:59:17 +08:00 committed by Jim Harris
parent 4e54b1a082
commit 7806ece53b

View File

@ -1515,7 +1515,7 @@ raid_bdev_add_base_device(struct raid_bdev_config *raid_cfg, struct spdk_bdev *b
raid_bdev = raid_cfg->raid_bdev;
if (!raid_bdev) {
SPDK_ERRLOG("Raid bdev is not created yet '%s'\n", bdev->name);
SPDK_ERRLOG("Raid bdev '%s' is not created yet\n", raid_cfg->name);
return -ENODEV;
}