diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-01-13 20:52:45 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-01-13 20:52:45 +0100 |
commit | 6ef25fb65ee0a62972ed7cbc01b6a11feb5fcb16 (patch) | |
tree | 871384dcc821f077e3e20da3e704d56b2147d62c /src/login | |
parent | fc7985ed678f2f07cfe941715544e6184981e019 (diff) |
pam: fix build
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/pam-module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/pam-module.c b/src/login/pam-module.c index 1c3a7437f8..46509245fb 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" : |