comparison 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
comparison
equal deleted inserted replaced
1196:a29559086628 1219:84cf9062718d
82 #ifdef DEBUG_TRACE 82 #ifdef DEBUG_TRACE
83 int debug_trace = 0; 83 int debug_trace = 0;
84 #endif 84 #endif
85 85
86 #ifndef DISABLE_SYSLOG 86 #ifndef DISABLE_SYSLOG
87 void startsyslog() { 87 void startsyslog(const char *ident) {
88 88
89 openlog(PROGNAME, LOG_PID, LOG_AUTHPRIV); 89 openlog(ident, LOG_PID, LOG_AUTHPRIV);
90 90
91 } 91 }
92 #endif /* DISABLE_SYSLOG */ 92 #endif /* DISABLE_SYSLOG */
93 93
94 /* the "format" string must be <= 100 characters */ 94 /* the "format" string must be <= 100 characters */