diff options
author | pb <pb@FreeBSD.org> | 2002-03-26 17:37:59 +0000 |
---|---|---|
committer | pb <pb@FreeBSD.org> | 2002-03-26 17:37:59 +0000 |
commit | f0ab132d6987bf262bddc3a9e2fd69255c9023f6 (patch) | |
tree | 7f3564886efcb43f555d3a2c0ae1e18d950c3458 | |
parent | 3f48fd65ca446da19af5a2092e623b4a1ff5d19e (diff) | |
download | FreeBSD-src-f0ab132d6987bf262bddc3a9e2fd69255c9023f6.zip FreeBSD-src-f0ab132d6987bf262bddc3a9e2fd69255c9023f6.tar.gz |
Fix problem in macro definition breaking compiles with -DDEBUG.
PR: bin/35773
Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
-rw-r--r-- | sbin/nfsd/nfsd.c | 2 | ||||
-rw-r--r-- | usr.sbin/nfsd/nfsd.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sbin/nfsd/nfsd.c b/sbin/nfsd/nfsd.c index bb67b54..86e145c 100644 --- a/sbin/nfsd/nfsd.c +++ b/sbin/nfsd/nfsd.c @@ -75,7 +75,7 @@ static const char rcsid[] = /* Global defs */ #ifdef DEBUG -#define syslog(e, s) fprintf(stderr,(s)) +#define syslog(e, s...) fprintf(stderr,s) int debug = 1; #else int debug = 0; diff --git a/usr.sbin/nfsd/nfsd.c b/usr.sbin/nfsd/nfsd.c index bb67b54..86e145c 100644 --- a/usr.sbin/nfsd/nfsd.c +++ b/usr.sbin/nfsd/nfsd.c @@ -75,7 +75,7 @@ static const char rcsid[] = /* Global defs */ #ifdef DEBUG -#define syslog(e, s) fprintf(stderr,(s)) +#define syslog(e, s...) fprintf(stderr,s) int debug = 1; #else int debug = 0; |