summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;