fix: string constants (-Wwrite-strings)
[lttng-ust.git] / tests / compile / test-app-ctx / hello.c
index c08fa8dd0347eef348aa0ebafa389796d9397264..da347714d5d8fc68906bc38ebcc75ca1406bf9e2 100644 (file)
@@ -243,9 +243,10 @@ void test_get_value(struct lttng_ust_ctx_field *field,
        }
 }
 
+static char myprovider_name[] = "$app.myprovider";
 struct lttng_ust_context_provider myprovider = {
        .struct_size = sizeof(struct lttng_ust_context_provider),
-       .name = "$app.myprovider",
+       .name = myprovider_name,
        .get_size = test_get_size,
        .record = test_record,
        .get_value = test_get_value,
This page took 0.023813 seconds and 4 git commands to generate.