Replace libuuid with internal implementation
[babeltrace.git] / src / lib / trace-ir / trace.c
index ce76ce5e92d70d8e3c2e47384d923f1851b7a296..8b6650dbe11c5339e36e7e4c5ee9c957515b1c16 100644 (file)
@@ -227,7 +227,7 @@ void bt_trace_set_uuid(struct bt_trace *trace, bt_uuid uuid)
        BT_ASSERT_PRE_NON_NULL(trace, "Trace");
        BT_ASSERT_PRE_NON_NULL(uuid, "UUID");
        BT_ASSERT_PRE_TRACE_HOT(trace);
-       memcpy(trace->uuid.uuid, uuid, BABELTRACE_UUID_LEN);
+       bt_uuid_copy(trace->uuid.uuid, uuid);
        trace->uuid.value = trace->uuid.uuid;
        BT_LIB_LOGD("Set trace's UUID: %!+t", trace);
 }
This page took 0.023555 seconds and 4 git commands to generate.