X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fhugepages.c;h=f23a6e2a3db6ff294ecbe27ef80a2235b7429cd5;hb=e66358769e4af95c8c2e6266c9bbfb54e2c3e02b;hp=1eb8b0c271de156c38211fc568e4e00748691801;hpb=f2f7049e8faff8043b12d7c7548d9398d3b3ada4;p=collectd.git diff --git a/src/hugepages.c b/src/hugepages.c index 1eb8b0c2..f23a6e2a 100644 --- a/src/hugepages.c +++ b/src/hugepages.c @@ -82,7 +82,7 @@ static int hp_config(oconfig_item_t *ci) { static void submit_hp(const struct entry_info *info) { value_list_t vl = VALUE_LIST_INIT; - vl.values = &(value_t) { .gauge = NAN }; + vl.values = &(value_t){.gauge = NAN}; vl.values_len = 1; sstrncpy(vl.plugin, g_plugin_name, sizeof(vl.plugin));