svn commit: r349925 - head/usr.sbin/bhyve
Sean Chittenden
seanc at FreeBSD.org
Thu Jul 11 23:54:51 UTC 2019
Author: seanc (ports committer)
Date: Thu Jul 11 23:54:50 2019
New Revision: 349925
URL: https://svnweb.freebsd.org/changeset/base/349925
Log:
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
Modified:
head/usr.sbin/bhyve/mevent.c
Modified: head/usr.sbin/bhyve/mevent.c
==============================================================================
--- head/usr.sbin/bhyve/mevent.c Thu Jul 11 22:06:59 2019 (r349924)
+++ head/usr.sbin/bhyve/mevent.c Thu Jul 11 23:54:50 2019 (r349925)
@@ -119,7 +119,7 @@ mevent_pipe_read(int fd, enum ev_type type, void *para
static void
mevent_notify(void)
{
- char c;
+ char c = '\0';
/*
* If calling from outside the i/o thread, write a byte on the
More information about the svn-src-all
mailing list