Skip to contentSkip to conversation

expfs.c compile fix for crufty old compilers

PATCH New Andrew Morton 1 participant 1 message Apr 23, 2002 Filesystems exportfs

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 expfs.c compile fix for crufty old compilers

gcc-2.91.66 doesn't like the macro-varargs construct which expfs.c is using.

Does anyone know which version of gcc gained the
alternative syntax?

fs/exportfs/expfs.c +1 -1
@@ -34,7 +34,7 @@ struct export_operations export_op_defau
 
 #define	CALL(ops,fun) ((ops->fun)?(ops->fun):export_op_default.fun)
 
-#define dprintk(x, ...) do{}while(0)
+#define dprintk(fmt, args...) do{}while(0)
 
 struct dentry *
 find_exported_dentry(struct super_block *sb, void *obj, void *parent,

-