Browse Source

Use correct name in syslog.

Con Kolivas 14 years ago
parent
commit
43faa11358
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.c

+ 1 - 1
main.c

@@ -3876,7 +3876,7 @@ int main (int argc, char *argv[])
 
 
 #ifdef HAVE_SYSLOG_H
 #ifdef HAVE_SYSLOG_H
 	if (use_syslog)
 	if (use_syslog)
-		openlog("cpuminer", LOG_PID, LOG_USER);
+		openlog(PROGRAM_NAME, LOG_PID, LOG_USER);
 #endif
 #endif
 
 
 	mining_threads = opt_n_threads + gpu_threads;
 	mining_threads = opt_n_threads + gpu_threads;