[Ocfs2-tools-commits] manish commits r643 - trunk/mount.ocfs2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Mar 15 17:38:16 CST 2005


Author: manish
Date: 2005-03-15 17:38:14 -0600 (Tue, 15 Mar 2005)
New Revision: 643

Modified:
   trunk/mount.ocfs2/mount.ocfs2.c
Log:
Cast to int before printing with int format


Modified: trunk/mount.ocfs2/mount.ocfs2.c
===================================================================
--- trunk/mount.ocfs2/mount.ocfs2.c	2005-03-15 23:25:37 UTC (rev 642)
+++ trunk/mount.ocfs2/mount.ocfs2.c	2005-03-15 23:38:14 UTC (rev 643)
@@ -807,7 +807,7 @@
 
 	ret = add_me_to_group(hbuuid, mo.dev);
 	if (ret < 0) {
-		fprintf(stderr, "%s: Error '%d' while adding to group\n", progname, ret);
+		fprintf(stderr, "%s: Error '%d' while adding to group\n", progname, (int)ret);
 		goto bail;
 	}
 



More information about the Ocfs2-tools-commits mailing list