[ovs-dev] [PATCH v2] windows: wmi add include
Alin Serdean
aserdean at cloudbasesolutions.com
Mon Jan 30 07:42:31 UTC 2017
From: Alin Serdean <aserdean at cloudbasesolutions.com>
Add 'util.h' to includes otherwise the result of the function
'ovs_format_message' will be unknown and be converted to int,
triggering an abort of vswitchd.
Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Reported-at: https://github.com/openvswitch/ovs-issues/issues/123
Reported-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
---
Intended for master and branch-2.7
v2: change commit message as suggested by
Gurucharan Shetty <guru at ovn.org>
---
lib/wmi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/wmi.c b/lib/wmi.c
index 632b13b..dba8022 100644
--- a/lib/wmi.c
+++ b/lib/wmi.c
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <tchar.h>
#include "openvswitch/vlog.h"
+#include "util.h"
VLOG_DEFINE_THIS_MODULE(wmi);
--
2.10.2.windows.1
More information about the dev
mailing list