From 7a12819743f2e7b25c6ec9b3e4cb229496efd676 Mon Sep 17 00:00:00 2001 From: lon Date: Thu, 5 Oct 2000 19:14:27 +0000 Subject: [PATCH] Minor changes - removed param to log_init() since char *name_p is functionally equivalent. (See statd.c) --- utils/statd/log.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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_ */ -- 2.39.5