osdi: fix sigfault when using aliasparam

This commit is contained in:
Pascal Kuthe 2023-02-01 21:23:59 +01:00
parent 8ee3e3fb41
commit aa450dd65b
No known key found for this signature in database
GPG Key ID: D715E8655AE166A6
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ static int write_param_info(IFparm **dst, const OsdiDescriptor *descr,
for (uint32_t j = 0; j < num_names; j++) { for (uint32_t j = 0; j < num_names; j++) {
if (j != 0) { if (j != 0) {
dataType = IF_UNINTERESTING; dataType |= IF_UNINTERESTING;
} }
char *para_name = copy(para->name[j]); char *para_name = copy(para->name[j]);
strtolower(para_name); strtolower(para_name);