]> git.ipfire.org Git - thirdparty/libvirt.git/commit
bhyve: fix build with gcc48
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Sat, 23 May 2015 16:56:43 +0000 (19:56 +0300)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Sun, 24 May 2015 07:12:35 +0000 (10:12 +0300)
commitfcac0cf7e9be1260fcd32dabaf9a81c039a33d21
treed0bcf0aa05fbdea48f18d01055fe8de89b44d5d5
parentdd42ff07955e5f056dd71711171052550a3df549
bhyve: fix build with gcc48

Build with gcc 4.8 fails with:

bhyve/bhyve_monitor.c: In function 'bhyveMonitorIO':
bhyve/bhyve_monitor.c:51:18: error: missing initializer for field 'tv_sec' of 'const struct timespec' [-Werror=missing-field-initializers]
     const struct timespec zerowait = {};

Explicitly initialize zerowait to fix the build.
src/bhyve/bhyve_monitor.c