[Ocfs2-tools-commits] smushran commits r562 - trunk/sizetest
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Wed Jan 19 18:28:58 CST 2005
Author: smushran
Date: 2005-01-19 18:28:55 -0600 (Wed, 19 Jan 2005)
New Revision: 562
Modified:
trunk/sizetest/sizetest.c
Log:
fix
Modified: trunk/sizetest/sizetest.c
===================================================================
--- trunk/sizetest/sizetest.c 2005-01-19 23:03:00 UTC (rev 561)
+++ trunk/sizetest/sizetest.c 2005-01-20 00:28:55 UTC (rev 562)
@@ -33,10 +33,10 @@
#define NUMFORMAT "%d"
# endif
-#define SHOW_SIZEOF(x,y) printf("sizeof("#x") = "NUMFORMAT"\n", sizeof( ##y ))
+#define SHOW_SIZEOF(x,y) printf("sizeof("#x") = "NUMFORMAT"\n", sizeof(y))
#define SHOW_OFFSET(x,y) printf("\t"#x" = "NUMFORMAT" (%d)\n", \
- (void *)&(##y.##x)-(void *)&##y, sizeof(##y.##x))
+ (void *)&(y.x)-(void *)&y, sizeof(y.x))
static void print_ocfs2_extent_rec(void)
{
More information about the Ocfs2-tools-commits
mailing list