diff options
author | Jonathan Brassow <jbrassow@redhat.com> | 2006-10-03 04:15:32 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-03 11:04:15 -0400 |
commit | e52b8f6dbe18c879ad2b5013f991ec9e46813043 (patch) | |
tree | 56fe2bf95b2ca00a66e639a5d060067f09c07e65 /drivers | |
parent | 695368ac3302174531429a90d55c3f7f9b83906e (diff) |
[PATCH] dm mirror: remove trailing space from table
Remove trailing space from 'dmsetup table' output.
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/md/dm-raid1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm-raid1.c b/drivers/md/dm-raid1.c index c54de989eb00..659224cb7c53 100644 --- a/drivers/md/dm-raid1.c +++ b/drivers/md/dm-raid1.c | |||
@@ -1213,9 +1213,9 @@ static int mirror_status(struct dm_target *ti, status_type_t type, | |||
1213 | break; | 1213 | break; |
1214 | 1214 | ||
1215 | case STATUSTYPE_TABLE: | 1215 | case STATUSTYPE_TABLE: |
1216 | DMEMIT("%d ", ms->nr_mirrors); | 1216 | DMEMIT("%d", ms->nr_mirrors); |
1217 | for (m = 0; m < ms->nr_mirrors; m++) | 1217 | for (m = 0; m < ms->nr_mirrors; m++) |
1218 | DMEMIT("%s %llu ", ms->mirror[m].dev->name, | 1218 | DMEMIT(" %s %llu", ms->mirror[m].dev->name, |
1219 | (unsigned long long)ms->mirror[m].offset); | 1219 | (unsigned long long)ms->mirror[m].offset); |
1220 | } | 1220 | } |
1221 | 1221 | ||