[Ocfs-tools-commits] jlbec commits r100 - trunk/ocfs2/debugfs.ocfs2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu Jun 24 21:47:47 CDT 2004


Author: jlbec
Date: 2004-06-24 20:47:45 -0500 (Thu, 24 Jun 2004)
New Revision: 100

Modified:
   trunk/ocfs2/debugfs.ocfs2/dump.c
Log:
o fix output of mode (print octal)

Modified: trunk/ocfs2/debugfs.ocfs2/dump.c
===================================================================
--- trunk/ocfs2/debugfs.ocfs2/dump.c	2004-06-25 01:33:09 UTC (rev 99)
+++ trunk/ocfs2/debugfs.ocfs2/dump.c	2004-06-25 01:47:45 UTC (rev 100)
@@ -155,7 +155,7 @@
 	if (in->i_flags & OCFS2_DLM_FL)
 		g_string_append (flags, "dlm ");
 
-	printf("Inode: %llu   Type: %s   Mode: 0%0u   Flags: %s   Generation: %u\n",
+	printf("Inode: %llu   Type: %s   Mode: 0%0o   Flags: %s   Generation: %u\n",
 	       in->i_blkno, str, mode, flags->str, in->i_generation);
 
 	pw = getpwuid(in->i_uid);



More information about the Ocfs-tools-commits mailing list