diff options
author | Jim Meyering <meyering@redhat.com> | 2010-01-26 17:13:45 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-01-27 13:39:46 +0100 |
commit | b74aadb3e5f845452afb764c79bfddd94d00a8d8 (patch) | |
tree | 9b706b3e0a2c053e12d18f557f9d79d455055363 /bootstrap | |
parent | pci.c: correct an erroneous expression (diff) | |
download | libvirt-b74aadb3e5f845452afb764c79bfddd94d00a8d8.tar.gz libvirt-b74aadb3e5f845452afb764c79bfddd94d00a8d8.tar.bz2 libvirt-b74aadb3e5f845452afb764c79bfddd94d00a8d8.zip |
portability to non-glibc: don't use realpath(..., NULL)
it causes a NULL-dereference on some systems like Solaris 10.
* src/node_device/node_device_linux_sysfs.c. Include <stdlib.h>.
(get_sriov_function): Use canonicalize_file_name, not realpath.
* bootstrap (modules): Add canonicalize-lgpl.
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -68,6 +68,7 @@ modules=' areadlink base64 c-ctype +canonicalize-lgpl close connect getaddrinfo |