diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-08-03 20:01:08 +0200 |
---|---|---|
committer | Tomáš Mráz <tmraz@redhat.com> | 2020-08-05 16:30:03 +0200 |
commit | 155e14e9e23b6dee8e95c3358b18269368110efc (patch) | |
tree | 2ff5ee182b02cf2ce68fa1164ca6e08445a36d6f /modules/pam_unix/lckpwdf.-c | |
parent | 6fc8482e1f59c70ff11cbe2e5ad1101996c41f00 (diff) | |
download | pam-155e14e9e23b6dee8e95c3358b18269368110efc.tar.gz pam-155e14e9e23b6dee8e95c3358b18269368110efc.tar.bz2 pam-155e14e9e23b6dee8e95c3358b18269368110efc.zip |
pam_unix: replace deprecated security_context_t
libselinux 3.1 deprecated the typedef security_context_t.
Use the underlaying type.
Diffstat (limited to 'modules/pam_unix/lckpwdf.-c')
-rw-r--r-- | modules/pam_unix/lckpwdf.-c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_unix/lckpwdf.-c b/modules/pam_unix/lckpwdf.-c index 7145617e..0bc9c5ad 100644 --- a/modules/pam_unix/lckpwdf.-c +++ b/modules/pam_unix/lckpwdf.-c @@ -73,7 +73,7 @@ static int lckpwdf(void) lockfd = open(LOCKFILE, O_WRONLY); if(lockfd == -1 && errno == ENOENT) { - security_context_t create_context; + char *create_context; int rc; if(getfilecon("/etc/passwd", &create_context)) |