[Ocfs2-tools-commits] zab commits r443 - trunk/fsck.ocfs2
    svn-commits at oss.oracle.com 
    svn-commits at oss.oracle.com
       
    Wed Dec  1 18:52:56 CST 2004
    
    
  
Author: zab
Date: 2004-12-01 18:52:54 -0600 (Wed, 01 Dec 2004)
New Revision: 443
Modified:
   trunk/fsck.ocfs2/problem.c
Log:
o beautify the problem code output
Modified: trunk/fsck.ocfs2/problem.c
===================================================================
--- trunk/fsck.ocfs2/problem.c	2004-12-01 19:26:46 UTC (rev 442)
+++ trunk/fsck.ocfs2/problem.c	2004-12-02 00:52:54 UTC (rev 443)
@@ -177,7 +177,7 @@
 		exit(FSCK_ERROR);
 	}
 
-	part = snprintf(output, len, "[%.6u] ", code);
+	part = snprintf(output, len, "[%u] ", code);
 	if (part < 0) {
 		perror("vsnprintf failed when trying to bulid an output "
 		       "buffer");
    
    
More information about the Ocfs2-tools-commits
mailing list