From 43faa11358c0b9660aed5322b2c3e74026b04892 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 30 Jul 2011 13:37:34 +1000 Subject: [PATCH] Use correct name in syslog. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index dff939f6..28032a48 100644 --- a/main.c +++ b/main.c @@ -3876,7 +3876,7 @@ int main (int argc, char *argv[]) #ifdef HAVE_SYSLOG_H if (use_syslog) - openlog("cpuminer", LOG_PID, LOG_USER); + openlog(PROGRAM_NAME, LOG_PID, LOG_USER); #endif mining_threads = opt_n_threads + gpu_threads;