X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fstatd%2Flog.h;h=723e6e3fe83240bf48611b14db0c85ce3816464e;hp=f00bb63ede914be7acac0efc3c76493d8985a032;hb=cf9569df886a4eda5ae55e5be3bce92c8f143373;hpb=8b7ad01b14df1e7529b9ba8a1ea17df0d6004ef9 diff --git a/utils/statd/log.h b/utils/statd/log.h index f00bb63..723e6e3 100644 --- a/utils/statd/log.h +++ b/utils/statd/log.h @@ -1,6 +1,7 @@ /* * Copyright (C) 1995 Olaf Kirch * Modified by Jeffrey A. Uphoff, 1996, 1997, 1999. + * Modified by Lon Hohberger, Oct. 2000 * * NSM for Linux. */ @@ -15,7 +16,7 @@ #include -void log_init(char *name); +void log_init(); void log_background(void); void log_enable(int facility); int log_enabled(int facility); @@ -35,7 +36,7 @@ void die(char *fmt, ...); #ifdef DEBUG #define dprintf log #else -#define dprintf if (0) log +#define dprintf if (run_mode & MODE_LOG_STDERR) log #endif #endif /* _LOCKD_LOG_H_ */