From: Lennart Poettering Date: Fri, 13 Jan 2012 19:52:45 +0000 (+0100) Subject: pam: fix build X-Git-Tag: v39~63 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ef25fb65ee0a62972ed7cbc01b6a11feb5fcb16;p=systemd pam: fix build --- 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" :