[systemd-commits] src/pam-module.c
Lennart Poettering
lennart at kemper.freedesktop.org
Mon Jun 27 10:49:52 PDT 2011
src/pam-module.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit cd58752a158ccab3db77d355410b31b457df4cfc
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Jun 27 19:49:43 2011 +0200
pam: make sure we pass a valid tty field to logind
diff --git a/src/pam-module.c b/src/pam-module.c
index 1658348..ad8ca91 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" :
More information about the systemd-commits
mailing list