diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-09-21 16:17:22 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-09-21 16:17:26 +0200 |
commit | 8e7705e52a5f84489d3037c09fa5f9397185560d (patch) | |
tree | c44a1826fa94f9101096747d369149715ca36ebe /src | |
parent | 0559d3a58ac25a37b832f12fbdefef58fd351270 (diff) |
pam: document that we don't do error checking when parsing vtnr
Diffstat (limited to 'src')
-rw-r--r-- | src/login/pam-module.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/login/pam-module.c b/src/login/pam-module.c index d7f412860a..0d387918c7 100644 --- a/src/login/pam-module.c +++ b/src/login/pam-module.c @@ -452,6 +452,7 @@ _public_ PAM_EXTERN int pam_sm_open_session( tty = ""; } + /* If this fails vtnr will be 0, that's intended */ if (!isempty(cvtnr)) safe_atou32(cvtnr, &vtnr); |