X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fintel_rdt.c;h=99c3ed0d934a5c42188a045546eac04a31087272;hb=e10ce37462d3002c296efe1b5b955a0a498d1f3b;hp=62848dbfe5e24046fae4a4f3ae76606720fb47b6;hpb=0bbf058d6f9935e6e727cda7db79312281e2f58d;p=collectd.git diff --git a/src/intel_rdt.c b/src/intel_rdt.c index 62848dbf..99c3ed0d 100644 --- a/src/intel_rdt.c +++ b/src/intel_rdt.c @@ -325,11 +325,7 @@ static int strlisttoarray(char *str_list, char ***names, size_t *names_num) { continue; if ((isdupstr((const char **)*names, *names_num, token))) { - if (str_list != NULL) - ERROR(RDT_PLUGIN ": Duplicated process name \'%s\' in group \'%s\'", - token, str_list); - else - ERROR(RDT_PLUGIN ": Duplicated process name \'%s\'", token); + ERROR(RDT_PLUGIN ": Duplicated process name \'%s\'", token); return -EINVAL; } else {