]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virmdev: fix build on non-Linux
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Mon, 27 Mar 2017 15:38:33 +0000 (19:38 +0400)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Mon, 27 Mar 2017 17:59:39 +0000 (21:59 +0400)
commit8ffffae97ff6d2095f7ee8b8a8a3b4b34f306314
tree61bc39d067c8c87d48b28a1a075bc2ade3faf741
parent5efdc1a6e2924be50a7981aba26bd22d724a09be
virmdev: fix build on non-Linux

 - Make virMediatedDeviceNew() stub args match its prototype
 - Fix typo: virRerportError -> virReportError
 - Move MDEV_SYSFS_DEVICES definition out of the #ifdef __linux__ block
   so we don't have to stub virMediatedDeviceGetSysfsPath()
src/util/virmdev.c