Commit 79662d1e authored by Milan Broz's avatar Milan Broz Committed by Alasdair G Kergon

dm delay: fix status

Fix missing space in dm-delay target status output
if separate read and write delay are configured.
Signed-off-by: default avatarMilan Broz <mbroz@redhat.com>
Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
parent 2e64a0f9
...@@ -308,7 +308,7 @@ static int delay_status(struct dm_target *ti, status_type_t type, ...@@ -308,7 +308,7 @@ static int delay_status(struct dm_target *ti, status_type_t type,
(unsigned long long) dc->start_read, (unsigned long long) dc->start_read,
dc->read_delay); dc->read_delay);
if (dc->dev_write) if (dc->dev_write)
DMEMIT("%s %llu %u", dc->dev_write->name, DMEMIT(" %s %llu %u", dc->dev_write->name,
(unsigned long long) dc->start_write, (unsigned long long) dc->start_write,
dc->write_delay); dc->write_delay);
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment