Set LOG_PID for syslog
From: Hans Lambermont <hans.lambermont@newtec.eu>
This commit is contained in:
parent
0d726f17e1
commit
6ac8aac226
2
mdadm.c
2
mdadm.c
|
@ -704,7 +704,7 @@ int main(int argc, char *argv[])
|
||||||
test = 1;
|
test = 1;
|
||||||
continue;
|
continue;
|
||||||
case O(MONITOR,'y'): /* log messages to syslog */
|
case O(MONITOR,'y'): /* log messages to syslog */
|
||||||
openlog("mdadm", 0, SYSLOG_FACILITY);
|
openlog("mdadm", LOG_PID, SYSLOG_FACILITY);
|
||||||
dosyslog = 1;
|
dosyslog = 1;
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue