mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
ostctools: Correct argument order to get_descriptor
This corrects the argument order, which was changed back in
00629c861c
, but not on this place. Whups.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
This commit is contained in:
parent
f3cf9525de
commit
d11dfd2f45
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue