Return to log.c CVS log | Up to [local] / src / usr.bin / cvs |
version 1.29, 2006/01/02 08:11:56 | version 1.30, 2006/01/02 17:06:10 | ||
---|---|---|---|
|
|
||
* cvs_log_init() | * cvs_log_init() | ||
* | * | ||
* Initialize the logging facility of the server. | * Initialize the logging facility of the server. | ||
* Returns 0 on success, or -1 on failure. | |||
*/ | */ | ||
int | void | ||
cvs_log_init(u_int dest, u_int flags) | cvs_log_init(u_int dest, u_int flags) | ||
{ | { | ||
int slopt; | int slopt; | ||
|
|
||
openlog_r(__progname, slopt, LOG_DAEMON, &cvs_sl); | openlog_r(__progname, slopt, LOG_DAEMON, &cvs_sl); | ||
} | } | ||
return (0); | |||
} | } | ||