xdr_proc_t really is different on linux26_i386
[openafs.git] / src / rx / xdr.c
index 4481c39..e05293e 100644 (file)
@@ -594,6 +594,12 @@ xdr_free(xdrproc_t proc, void *obj)
     XDR x;
 
     x.x_op = XDR_FREE;
+
+    /* See note in xdr.h for the method behind this madness */
+#if defined(AFS_I386_LINUX26_ENV) && defined(KERNEL) && !defined(UKERNEL)
+    (*proc)(&x, obj, 0);
+#else
     (*proc)(&x, obj);
+#endif
 }
 #endif /* NeXT */