Add LOG_CONS when openlog().
This commit is contained in:
parent
c71957beff
commit
1720c5f149
|
@ -87,7 +87,7 @@ main(argc, argv)
|
|||
(void) signal(SIGHUP, cleanup);
|
||||
}
|
||||
|
||||
openlog("rpc.rusersd", LOG_PID, LOG_DAEMON);
|
||||
openlog("rpc.rusersd", LOG_CONS|LOG_PID, LOG_DAEMON);
|
||||
|
||||
transp = svcudp_create(sock);
|
||||
if (transp == NULL) {
|
||||
|
|
|
@ -81,7 +81,7 @@ main(argc, argv)
|
|||
(void) signal(SIGHUP, cleanup);
|
||||
}
|
||||
|
||||
openlog("rpc.rusersd", LOG_PID, LOG_DAEMON);
|
||||
openlog("rpc.rusersd", LOG_CONS|LOG_PID, LOG_DAEMON);
|
||||
|
||||
transp = svcudp_create(sock);
|
||||
if (transp == NULL) {
|
||||
|
|
Loading…
Reference in New Issue