mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cleanup: remove double //
dev_dir ends with /.
This commit is contained in:
parent
469bcc28ac
commit
09e17f99c5
@ -5989,8 +5989,8 @@ static int _set_writecache_block_size(struct cmd_context *cmd,
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dm_snprintf(pathname, sizeof(pathname), "%s/%s/%s", cmd->dev_dir,
|
if (dm_snprintf(pathname, sizeof(pathname), "%s%s/%s",
|
||||||
lv->vg->name, lv->name) < 0) {
|
cmd->dev_dir, lv->vg->name, lv->name) < 0) {
|
||||||
log_error("Path name too long to get LV block size %s", display_lvname(lv));
|
log_error("Path name too long to get LV block size %s", display_lvname(lv));
|
||||||
goto bad;
|
goto bad;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user