summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/ostctools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ostctools.c b/core/ostctools.c
index c87b8b5b0..caf7dc2fc 100644
--- a/core/ostctools.c
+++ b/core/ostctools.c
@@ -17,7 +17,7 @@ static int ostc_prepare_data(int data_model, dc_family_t dc_fam, device_data_t *
dev_data->device = NULL;
dev_data->context = NULL;
- data_descriptor = get_descriptor(data_model, dc_fam);
+ data_descriptor = get_descriptor(dc_fam, data_model);
if (data_descriptor) {
dev_data->descriptor = data_descriptor;
dev_data->vendor = copy_string(data_descriptor->vendor);