Initialize program name in openlog

This commit is contained in:
Michael Spang 2008-03-15 01:52:16 -04:00
parent 42c64f6c87
commit f2b2d5e83f
2 changed files with 2 additions and 2 deletions

View File

@ -161,11 +161,11 @@ int addclub() {
int main(int argc, char *argv[]) {
int opt;
prog = basename(argv[0]);
openlog(prog, 0, LOG_AUTHPRIV);
configure();
prog = basename(argv[0]);
user = ceo_get_user();
privileged = ceo_get_privileged();

View File

@ -165,11 +165,11 @@ int addmember() {
int main(int argc, char *argv[]) {
int opt;
prog = basename(argv[0]);
openlog(prog, 0, LOG_AUTHPRIV);
configure();
prog = basename(argv[0]);
user = ceo_get_user();
privileged = ceo_get_privileged();