diff options
Diffstat (limited to 'core/ostctools.c')
-rw-r--r-- | core/ostctools.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/ostctools.c b/core/ostctools.c index caf7dc2fc..c3fb66c64 100644 --- a/core/ostctools.c +++ b/core/ostctools.c @@ -20,8 +20,8 @@ static int ostc_prepare_data(int data_model, dc_family_t dc_fam, device_data_t * data_descriptor = get_descriptor(dc_fam, data_model); if (data_descriptor) { dev_data->descriptor = data_descriptor; - dev_data->vendor = copy_string(data_descriptor->vendor); - dev_data->model = copy_string(data_descriptor->product); + dev_data->vendor = copy_string(dc_descriptor_get_vendor(data_descriptor)); + dev_data->model = copy_string(dc_descriptor_get_product(data_descriptor)); } else { return 0; } |