Fixed bug in C versions of error message unit tests
diff --git a/test_data/of13/bad_match_error_msg.data b/test_data/of13/bad_match_error_msg.data
index 7dbce0b..80a925b 100644
--- a/test_data/of13/bad_match_error_msg.data
+++ b/test_data/of13/bad_match_error_msg.data
@@ -12,7 +12,7 @@
     data="abc")
 -- c
 obj = of_bad_match_error_msg_new(OF_VERSION_1_3);
-of_flow_add_xid_set(obj, 0x12345678);
+of_bad_match_error_msg_xid_set(obj, 0x12345678);
 of_bad_match_error_msg_code_set(obj, OF_MATCH_FAILED_BAD_MASK_BY_VERSION(OF_VERSION_1_3));
 of_octets_t data = { .bytes=3, .data=(uint8_t *)"\x61\x62\x63" };
 of_bad_match_error_msg_data_set(obj, &data);