]> git.ipfire.org Git - thirdparty/util-linux.git/commit
mkswap: don't use deprecated security_context_t
authorKarel Zak <kzak@redhat.com>
Mon, 14 Dec 2020 14:44:59 +0000 (15:44 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 14 Dec 2020 14:54:08 +0000 (15:54 +0100)
commitca6fcc1a898662027ca671b5cf64f4cc21008ba1
tree0a1d909a5dad8e5a4f79991a32cfe29bd8a73eb9
parente522815027a821634da26a79a78a44d310e961dd
mkswap: don't use deprecated security_context_t

libselinux >= 3.1 makes security_context_t type deprecated. Let's
ifdef it to avoid unwanted warnings.

Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/mkswap.c