chiark / gitweb /
pam_systemd: pass 'unsigned' instead of 'bool' to sd_bus_message_read()
authorKay Sievers <kay@vrfy.org>
Wed, 6 Nov 2013 23:05:03 +0000 (00:05 +0100)
committerKay Sievers <kay@vrfy.org>
Wed, 6 Nov 2013 23:05:03 +0000 (00:05 +0100)
src/login/pam-module.c

index 3667425a8cabd8fd18374e7776f7a4522620f87c..9362660bf906b2f56e1e7a300568fb7d4cc65b4b 100644 (file)
@@ -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;
         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;
 
         uint32_t vtnr = 0;
         int r;