diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-06-27 19:49:43 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-06-27 19:49:43 +0200 |
commit | cd58752a158ccab3db77d355410b31b457df4cfc (patch) | |
tree | 47504dfd8043228b850e106fada128316b74c687 /src | |
parent | 4ecda405d1c26f82fb7afe96ea4c48ca1bd19e17 (diff) |
pam: make sure we pass a valid tty field to logind
Diffstat (limited to 'src')
-rw-r--r-- | src/pam-module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pam-module.c b/src/pam-module.c index 1658348e28..ad8ca91d03 100644 --- a/src/pam-module.c +++ b/src/pam-module.c @@ -389,7 +389,7 @@ _public_ PAM_EXTERN int pam_sm_open_session( if (isempty(display)) display = tty; - tty = NULL; + tty = ""; } type = !isempty(display) ? "x11" : |