diff dbutil.c @ 1219:84cf9062718d coverity

merge
author Matt Johnston <matt@ucc.asn.au>
date Tue, 15 Dec 2015 22:24:34 +0800
parents 6ecc133fb2ee
children 2bb4c662d1c2
line wrap: on
line diff
--- a/dbutil.c	Wed Dec 02 22:37:51 2015 +0800
+++ b/dbutil.c	Tue Dec 15 22:24:34 2015 +0800
@@ -84,9 +84,9 @@
 #endif
 
 #ifndef DISABLE_SYSLOG
-void startsyslog() {
+void startsyslog(const char *ident) {
 
-	openlog(PROGNAME, LOG_PID, LOG_AUTHPRIV);
+	openlog(ident, LOG_PID, LOG_AUTHPRIV);
 
 }
 #endif /* DISABLE_SYSLOG */