Set LOG_PID for syslog

From: Hans Lambermont <hans.lambermont@newtec.eu>
This commit is contained in:
Hans Lambermont 2008-05-12 12:21:56 +10:00 committed by Neil Brown
parent 0d726f17e1
commit 6ac8aac226
1 changed files with 1 additions and 1 deletions

View File

@ -704,7 +704,7 @@ int main(int argc, char *argv[])
test = 1;
continue;
case O(MONITOR,'y'): /* log messages to syslog */
openlog("mdadm", 0, SYSLOG_FACILITY);
openlog("mdadm", LOG_PID, SYSLOG_FACILITY);
dosyslog = 1;
continue;