usr.sbin/bhyve: send an initialized value to wake up blocking kqueue

This is a no-op initialization because nothing reads this value.  "This
wasn't wrong previously, but this is more correct now." -imp

Coverity CID:	1194307
Approved by:	markj, imp, scottl
Differential Revision:	https://reviews.freebsd.org/D20921
This commit is contained in:
Sean Chittenden 2019-07-11 23:54:50 +00:00
parent 3ae2a848ae
commit fe1329e446
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349925

View File

@ -119,7 +119,7 @@ mevent_pipe_read(int fd, enum ev_type type, void *param)
static void
mevent_notify(void)
{
char c;
char c = '\0';
/*
* If calling from outside the i/o thread, write a byte on the