Fix typos.

This commit is contained in:
nekral-guest 2009-05-09 13:15:38 +00:00
parent ce684e236c
commit 8f64190223
2 changed files with 5 additions and 1 deletions

View File

@ -239,9 +239,11 @@ extern void motd (void);
extern /*@null@*/struct passwd *get_my_pwent (void); extern /*@null@*/struct passwd *get_my_pwent (void);
/* pam_pass_non_interractive.c */ /* pam_pass_non_interractive.c */
#ifdef USE_PAM
extern int do_pam_passwd_non_interractive (const char *pam_service, extern int do_pam_passwd_non_interractive (const char *pam_service,
const char *username, const char *username,
const char* password) const char* password);
#endif /* USE_PAM */
/* obscure.c */ /* obscure.c */
#ifndef USE_PAM #ifndef USE_PAM

View File

@ -159,6 +159,8 @@ int do_pam_passwd_non_interractive (const char *pam_service,
} }
(void) pam_end (pamh, PAM_SUCCESS); (void) pam_end (pamh, PAM_SUCCESS);
return ((PAM_SUCCESS == ret) ? 0 : 1);
} }
#else /* !USE_PAM */ #else /* !USE_PAM */
extern int errno; /* warning: ANSI C forbids an empty source file */ extern int errno; /* warning: ANSI C forbids an empty source file */