[libvirt] [PATCH] util: cgroup: Fix build on non-cgroup platforms
Eric Blake
eblake at redhat.com
Tue Jul 8 15:54:59 UTC 2014
On 07/08/2014 09:40 AM, Peter Krempa wrote:
> Commit 48f44510098cead629ede9a49ea4e840a28ccca introduced a helper
> fucntion to convert cgroup device mode to string. The function was only
s/fucntion/function/
> conditionally compliled on platforms that support cgroup. This broke the
s/compliled/compiled/
> build when attempting to export the symbol:
>
> CCLD libvirt.la
> Cannot export virCgroupGetDevicePermsString: symbol not defined
>
> Move the function out of the ifdef, as it doesn't really depend on the
> cgroup code being present.
> ---
> src/util/vircgroup.c | 76 ++++++++++++++++++++++++++--------------------------
> 1 file changed, 38 insertions(+), 38 deletions(-)
ACK.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140708/004d6d72/attachment-0001.sig>
More information about the libvir-list
mailing list