[Ocfs2-tools-commits] zab commits r1178 - trunk/fsck.ocfs2

svn-commits@oss.oracle.com svn-commits at oss.oracle.com
Tue Apr 18 17:45:06 CDT 2006


Author: zab
Signed-off-by: mfasheh
Date: 2006-04-18 17:45:05 -0500 (Tue, 18 Apr 2006)
New Revision: 1178

Modified:
   trunk/fsck.ocfs2/pass1.c
Log:
o the cluster format specification being in an external string stopped gcc
  from telling us that we were printing it with a smaller format.

Signed-off-by: mfasheh


Modified: trunk/fsck.ocfs2/pass1.c
===================================================================
--- trunk/fsck.ocfs2/pass1.c	2006-04-18 22:42:51 UTC (rev 1177)
+++ trunk/fsck.ocfs2/pass1.c	2006-04-18 22:45:05 UTC (rev 1178)
@@ -976,16 +976,15 @@
 	char *reason;
 
 	if (!val) {
-		reason = "Cluster %u is marked in the global cluster "
-			 "bitmap but it isn't in use.  Clear its bit "
-			 "in the bitmap?";
+		reason = "marked in the global cluster bitmap but it isn't in "
+			 "use.  Clear its bit in the bitmap?";
 	} else {
-		reason = "Cluster %u is in use but isn't set in the "
-			 "global cluster bitmap.  Set its bit in the "
-			 "bitmap?";
+		reason = "in use but isn't set in the global cluster bitmap. "
+		         "Set its bit in the bitmap?";
 	}
 
-	if (!prompt(ost, PY, PR_CLUSTER_ALLOC_BIT, reason, bit))
+	if (!prompt(ost, PY, PR_CLUSTER_ALLOC_BIT, "Cluster %"PRIu64" is %s",
+		    bit, reason))
 		return 0;
 
 	ret = ocfs2_chain_force_val(ost->ost_fs, ci, bit, !!val, NULL);




More information about the Ocfs2-tools-commits mailing list