[DRBD-cvs] svn commit by phil - r2571 - trunk/user - The dstate command should print the local disk state an

drbd-cvs at lists.linbit.com drbd-cvs at lists.linbit.com
Wed Oct 25 12:20:30 CEST 2006


Author: phil
Date: 2006-10-25 12:20:29 +0200 (Wed, 25 Oct 2006)
New Revision: 2571

Modified:
   trunk/user/drbdsetup.c
Log:
The dstate command should print the local disk state and
the peer's disk state.


Modified: trunk/user/drbdsetup.c
===================================================================
--- trunk/user/drbdsetup.c	2006-10-25 09:36:44 UTC (rev 2570)
+++ trunk/user/drbdsetup.c	2006-10-25 10:20:29 UTC (rev 2571)
@@ -1070,7 +1070,7 @@
 {
 	drbd_state_t state;
 	consume_tag_int(T_state_i,rtl,(int*)&state.i);
-	printf("%s\n",disks_to_name(state.disk));
+	printf("%s/%s\n",disks_to_name(state.disk),disks_to_name(state.pdsk));
 	return 0;
 }
 



More information about the drbd-cvs mailing list