diff options
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" : |