#include "common/assert.h"
#include "common/macros.h"
#include "compat/string.h"
-#include <babeltrace2/ctf-writer/object.h>
+#include <babeltrace2-ctf-writer/object.h>
#include <inttypes.h>
#include "values.h"
field_name = bt_ctf_value_string_get(
bt_ctf_private_value_as_value(attr_field_name_obj));
- if (!strcmp(field_name, name)) {
+ if (strcmp(field_name, name) == 0) {
break;
}