diff options
author | Anton Lundin <glance@acc.umu.se> | 2016-12-29 16:03:26 +0100 |
---|---|---|
committer | Subsurface <dirk@subsurface-divelog.org> | 2017-01-12 14:15:53 -0800 |
commit | d11dfd2f45fbf0a036d3e2089ff86a0ada43f2e0 (patch) | |
tree | ab9e95b1adf925a3124bcd4facb9475d897c2990 /core | |
parent | f3cf9525de6a6e969c8a0baf5364c3be345a5e8e (diff) | |
download | subsurface-d11dfd2f45fbf0a036d3e2089ff86a0ada43f2e0.tar.gz |
ostctools: Correct argument order to get_descriptor
This corrects the argument order, which was changed back in
00629c861cc9, but not on this place. Whups.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Diffstat (limited to 'core')
-rw-r--r-- | core/ostctools.c | 2 |
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); |