summaryrefslogtreecommitdiff
path: root/other/bootstrap_daemon/src/log.c
diff options
context:
space:
mode:
authorMaxim Biro <nurupo.contributions@gmail.com>2015-12-31 02:44:44 -0500
committerMaxim Biro <nurupo.contributions@gmail.com>2015-12-31 02:44:44 -0500
commit8c812f534175d43d93e022af49f0441cfca0ea0d (patch)
tree9e4b6387eac1c35c6e5c260c974ea366163369be /other/bootstrap_daemon/src/log.c
parentc50781a2b7d0ab56acb31b8f79df2e69f9f74b8b (diff)
Make daemon use the new log code
"log" is a reserved name (log from math.h), so it got changed into write_log.
Diffstat (limited to 'other/bootstrap_daemon/src/log.c')
-rw-r--r--other/bootstrap_daemon/src/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/other/bootstrap_daemon/src/log.c b/other/bootstrap_daemon/src/log.c
index dff2dbad..b5f838fb 100644
--- a/other/bootstrap_daemon/src/log.c
+++ b/other/bootstrap_daemon/src/log.c
@@ -95,7 +95,7 @@ void log_stdout(LOG_LEVEL level, const char *format, va_list args)
95 vfprintf(level_stdout(level), format, args); 95 vfprintf(level_stdout(level), format, args);
96} 96}
97 97
98bool log(LOG_LEVEL level, const char *format, ...) 98bool write_log(LOG_LEVEL level, const char *format, ...)
99{ 99{
100 va_list args; 100 va_list args;
101 va_start(args, format); 101 va_start(args, format);