[systemd-commits] src/login

Lennart Poettering lennart at kemper.freedesktop.org
Fri Jan 13 11:52:51 PST 2012


 src/login/pam-module.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 6ef25fb65ee0a62972ed7cbc01b6a11feb5fcb16
Author: Lennart Poettering <lennart at poettering.net>
Date:   Fri Jan 13 20:52:45 2012 +0100

    pam: fix build

diff --git a/src/login/pam-module.c b/src/login/pam-module.c
index 1c3a743..4650924 100644
--- a/src/login/pam-module.c
+++ b/src/login/pam-module.c
@@ -457,9 +457,9 @@ _public_ PAM_EXTERN int pam_sm_open_session(
 
         if (!isempty(display) && vtnr <= 0) {
                 if (isempty(seat))
-                        get_seat_from_display(handle, display, &seat, &vtnr);
+                        get_seat_from_display(display, &seat, &vtnr);
                 else if (streq(seat, "seat0"))
-                        get_seat_from_display(handle, display, NULL, &vtnr);
+                        get_seat_from_display(display, NULL, &vtnr);
         }
 
         type = !isempty(display) ? "x11" :



More information about the systemd-commits mailing list