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:
parent
144f45a030
commit
3349a731ef
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user