Linux Device Mapper development
 help / color / mirror / Atom feed
* [PATCH 1 of 2] dm log userspace, fix table status output
@ 2009-07-28 15:30 Jonathan Brassow
  0 siblings, 0 replies; only message in thread
From: Jonathan Brassow @ 2009-07-28 15:30 UTC (permalink / raw)
  To: dm-devel

'dmsetup table' is not coming out right.  This patch and the following
patch fix that.

 brassow

The missing ' ' at the end of the status output causes mirror
status output arguments to run together.  Adding the space at
the end makes this log module consistent with the other two
existing log modules, "disk" and "core".

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
 
Index: linux-2.6/drivers/md/dm-log-userspace-base.c
===================================================================
--- linux-2.6.orig/drivers/md/dm-log-userspace-base.c
+++ linux-2.6/drivers/md/dm-log-userspace-base.c
@@ -577,7 +577,7 @@ static int userspace_status(struct dm_di
 		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;
 	}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-28 15:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-28 15:30 [PATCH 1 of 2] dm log userspace, fix table status output Jonathan Brassow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox