dm delay: fix status
authorMilan Broz <[email protected]>
Fri, 19 Oct 2007 21:38:42 +0000 (22:38 +0100)
committerAlasdair G Kergon <[email protected]>
Sat, 20 Oct 2007 01:01:04 +0000 (02:01 +0100)
Fix missing space in dm-delay target status output
if separate read and write delay are configured.

Signed-off-by: Milan Broz <[email protected]>
Signed-off-by: Alasdair G Kergon <[email protected]>
drivers/md/dm-delay.c

index 0fd1f7c2e1626a0032cab80873f60d17798fc756..719f871bbd56ccbaead06a1059b7a21af10f3ada 100644 (file)
@@ -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;