summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-delay.c
diff options
context:
space:
mode:
authorMilan Broz <mbroz@redhat.com>2007-10-19 22:38:42 +0100
committerAlasdair G Kergon <agk@redhat.com>2007-10-20 02:01:04 +0100
commit79662d1ea37392651f2cff08626cab6a40ba3adc (patch)
treefb029c530e9223f7577607d08e3fd692ed8b2e24 /drivers/md/dm-delay.c
parent2e64a0f92830791f160274c46aef3678fabcf044 (diff)
downloadop-kernel-dev-79662d1ea37392651f2cff08626cab6a40ba3adc.zip
op-kernel-dev-79662d1ea37392651f2cff08626cab6a40ba3adc.tar.gz
dm delay: fix status
Fix missing space in dm-delay target status output if separate read and write delay are configured. Signed-off-by: Milan Broz <mbroz@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-delay.c')
-rw-r--r--drivers/md/dm-delay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-delay.c b/drivers/md/dm-delay.c
index 0fd1f7c..719f871 100644
--- a/drivers/md/dm-delay.c
+++ b/drivers/md/dm-delay.c
@@ -308,7 +308,7 @@ static int delay_status(struct dm_target *ti, status_type_t type,
(unsigned long long) dc->start_read,
dc->read_delay);
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,
dc->write_delay);
break;
OpenPOWER on IntegriCloud