Fix typos.
This commit is contained in:
parent
ce684e236c
commit
8f64190223
@ -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
|
||||||
|
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user