aboutsummaryrefslogtreecommitdiff
path: root/pam_log
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-02-27 15:30:15 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2009-02-27 15:30:15 +0000
commit27cbbfe1b7e241b2cb678caf992c5fd1ec8bc10b (patch)
treee7891cbb84f94c102fb7bd2545a1168f58e7af52 /pam_log
parentaaf0e433317374ee564582c75389389b60fd7b27 (diff)
downloadpam-modules-27cbbfe1b7e241b2cb678caf992c5fd1ec8bc10b.tar.gz
pam-modules-27cbbfe1b7e241b2cb678caf992c5fd1ec8bc10b.tar.bz2
Avoid gcc warnings
git-svn-id: file:///svnroot/pam-modules/trunk@106 56984be4-0537-0410-a56c-fcb268c96130
Diffstat (limited to 'pam_log')
-rw-r--r--pam_log/pam_log.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/pam_log/pam_log.c b/pam_log/pam_log.c
index 1ac57fc..8ff727c 100644
--- a/pam_log/pam_log.c
+++ b/pam_log/pam_log.c
@@ -92,9 +92,10 @@ parse_priority(struct pam_opt *opt, const char *str)
struct pam_opt pam_opt[] = {
{ PAM_OPTSTR(debug), pam_opt_long, &debug_level },
- { PAM_OPTSTR(debug), pam_opt_const, &debug_level, 1 },
- { PAM_OPTSTR(audit), pam_opt_bitmask, &cntl_flags, CNTL_AUDIT },
- { PAM_OPTSTR(waitdebug), pam_opt_null, NULL, 0, gray_wait_debug_fun },
+ { PAM_OPTSTR(debug), pam_opt_const, &debug_level, { 1 } },
+ { PAM_OPTSTR(audit), pam_opt_bitmask, &cntl_flags, { CNTL_AUDIT } },
+ { PAM_OPTSTR(waitdebug), pam_opt_null, NULL, { 0 },
+ gray_wait_debug_fun },
{ PAM_OPTSTR(tag), pam_opt_string, &syslog_tag },
{ PAM_OPTSTR(pri), pam_opt_null, NULL, 0, parse_priority },
{ PAM_OPTSTR(open), pam_opt_bool, &do_open },

Return to:

Send suggestions and report system problems to the System administrator.