summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-11-07 00:05:03 +0100
committerKay Sievers <kay@vrfy.org>2013-11-07 00:05:03 +0100
commit5a0d49a47cbfd1d50bbb03118972d0212cbd30f0 (patch)
treeec0138a9fcec911bfbc1e81c84919e48ec10f145 /src
parentfdd6816f7d35011352354956b269de67912feeea (diff)
pam_systemd: pass 'unsigned' instead of 'bool' to sd_bus_message_read()
Diffstat (limited to 'src')
-rw-r--r--src/login/pam-module.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/login/pam-module.c b/src/login/pam-module.c
index 3667425a8c..9362660bf9 100644
--- a/src/login/pam-module.c
+++ b/src/login/pam-module.c
@@ -183,7 +183,8 @@ _public_ PAM_EXTERN int pam_sm_open_session(
const char *username, *id, *object_path, *runtime_path, *service = NULL, *tty = NULL, *display = NULL, *remote_user = NULL, *remote_host = NULL, *seat = NULL, *type = NULL, *class = NULL, *class_pam = NULL, *cvtnr = NULL;
uint32_t uid, pid;
int session_fd = -1;
- bool remote, existing;
+ bool remote;
+ unsigned existing;
uint32_t vtnr = 0;
int r;