]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: fix context_t init warning on systems without selinux
authorAlex Deymo <deymo@chromium.org>
Wed, 2 Jul 2014 05:52:32 +0000 (22:52 -0700)
committerPádraig Brady <P@draigBrady.com>
Wed, 2 Jul 2014 09:47:41 +0000 (10:47 +0100)
commit28d1dc525182c347f2346c52fa7b5ab4a9b1a148
tree3fe2a45e53e762ec2e8d4af4aa8ae6978cd923a1
parent149a3b2c78d9adc35873df60660651605e88edb9
maint: fix context_t init warning on systems without selinux

On systems without libselinux, context_t is defined as an int type,
but defined as a pointer type by SELinux.

* src/chcon.c: Init with 0 rather than NULL to avoid warning.
src/chcon.c