nfs4: fix gcc2 build

gcc2 preprocessor reads `__func__,` as one token, yielding
dprintf("nfs4: %s()" "whatever"  "\n", );
and a parse error for the expansion of ERROR with only one parameter.
Separating the comma gives the result we want.

Change-Id: I5d20e2c06a796b7092b9f23162fa7bfb269318be
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3899
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
This commit is contained in:
Máximo Castañeda 2021-05-04 14:31:00 +02:00 committed by Jérôme Duval
parent 144f45a030
commit 3349a731ef

View File

@ -28,11 +28,11 @@
#define ERROR(format, args...) \
dprintf("nfs4: %s()" format "\n", __func__, ##args)
dprintf("nfs4: %s()" format "\n", __func__ , ##args)
#ifdef DEBUG
#define TRACE(format, args...) \
dprintf("nfs4: %s()" format "\n", __func__, ##args)
dprintf("nfs4: %s()" format "\n", __func__ , ##args)
#else
#define TRACE(x...) (void)0
#endif