From 6ef25fb65ee0a62972ed7cbc01b6a11feb5fcb16 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 13 Jan 2012 20:52:45 +0100 Subject: [PATCH] pam: fix build --- src/login/pam-module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/login/pam-module.c b/src/login/pam-module.c index 1c3a7437..46509245 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" : -- 2.39.5