dm log: fix userspace status output
authorJonathan Brassow <jbrassow@redhat.com>
Fri, 4 Sep 2009 19:40:28 +0000 (20:40 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 4 Sep 2009 19:40:28 +0000 (20:40 +0100)
Fix 'dmsetup table' output.

There is a missing ' ' at the end of the string causing two
words to run together.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-log-userspace-base.c

index e69b965..2f2a244 100644 (file)
@@ -577,7 +577,7 @@ static int userspace_status(struct dm_dirty_log *log, status_type_t status_type,
                break;
        case STATUSTYPE_TABLE:
                sz = 0;
-               DMEMIT("%s %u %s %s", log->type->name, lc->usr_argc + 1,
+               DMEMIT("%s %u %s %s ", log->type->name, lc->usr_argc + 1,
                       lc->uuid, lc->usr_argv_str);
                break;
        }