]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix virCgroupAvailable() w/o HAVE_GETMNTENT_R defined
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Wed, 24 Jul 2013 12:30:33 +0000 (16:30 +0400)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 24 Jul 2013 13:31:34 +0000 (15:31 +0200)
commitfa6805e55e226cf7800bd5940dcaea4dd863b18b
treed3ee233378cf611ce812294dfb762038a2566c46
parent7e1208297d3d427e8aeb88232de8a5badcc32862
Fix virCgroupAvailable() w/o HAVE_GETMNTENT_R defined

virCgroupAvailable() implementation calls getmntent_r
without checking if HAVE_GETMNTENT_R is defined, so it fails
to build on platforms without getmntent_r support.

Make virCgroupAvailable() just return false without
HAVE_GETMNTENT_R.
src/util/vircgroup.c