Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in comments #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pam.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ pamauth(const char *user, const char *myname, int interactive, int nopass, int p
if (ret == PAM_NEW_AUTHTOK_REQD)
ret = pam_chauthtok(pamh, PAM_CHANGE_EXPIRED_AUTHTOK);

/* account not vaild or changing the auth token failed */
/* account not valid or changing the auth token failed */
if (ret != PAM_SUCCESS) {
pamcleanup(ret, sess, cred);
syslog(LOG_AUTHPRIV | LOG_NOTICE, "failed auth for %s", myname);
Expand Down
2 changes: 1 addition & 1 deletion timestamp.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ proc_info(pid_t pid, int *ttynr, unsigned long long *starttime)

/* Get the 7th field, 5 fields after the last ')',
* (2th field) because the 5th field 'comm' can include
* spaces and closing paranthesis too.
* spaces and closing parenthesis too.
* See https://www.sudo.ws/alerts/linux_tty.html
*/
if ((p = strrchr(buf, ')')) == NULL)
Expand Down