With this change, OVS builds and runs fine without linker section support.
CC: Linda Sun <[email protected]>
CC: Saurabh Shah <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
---
lib/coverage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/coverage.c b/lib/coverage.c
index aae9937..c7a0028 100644
--- a/lib/coverage.c
+++ b/lib/coverage.c
@@ -48,7 +48,7 @@ extern struct coverage_counter *__stop_coverage[];
} \
extern struct coverage_counter counter_##COUNTER; \
struct coverage_counter counter_##COUNTER \
- = { #COUNTER, COUNTER##_count, 0 };
+ = { #COUNTER, COUNTER##_count, 0, 0, {0}, {0} };
#include "coverage.def"
#undef COVERAGE_COUNTER
--
1.7.10.4
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev