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