]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
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 e69b96560997ee2dfd34236e8c1143d395f7550e..2f2a244e1109e2f4c0ee52f9517334c4f70c902b 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;
        }