summaryrefslogtreecommitdiffstats
path: root/utils/statd
diff options
context:
space:
mode:
authorlon <lon>2000-10-05 19:14:27 +0000
committerlon <lon>2000-10-05 19:14:27 +0000
commit7a12819743f2e7b25c6ec9b3e4cb229496efd676 (patch)
tree0cdfb6e9d13bc412c70e55d0aaf2c2ed2ac1f8b4 /utils/statd
parent0a05810fb40b01d846b4d8e8cbde14ea85598cbc (diff)
downloadnfs-utils-7a12819743f2e7b25c6ec9b3e4cb229496efd676.tar.gz
nfs-utils-7a12819743f2e7b25c6ec9b3e4cb229496efd676.tar.xz
nfs-utils-7a12819743f2e7b25c6ec9b3e4cb229496efd676.zip
Minor changes - removed param to log_init() since char *name_p is functionally
equivalent. (See statd.c)
Diffstat (limited to 'utils/statd')
-rw-r--r--utils/statd/log.h5
1 files 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 <syslog.h>
-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_ */