This corrects the argument order, which was changed back in 00629c861cc9, but not on this place. Whups.
Signed-off-by: Anton Lundin <[email protected]> --- core/ostctools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ostctools.c b/core/ostctools.c index c87b8b5..caf7dc2 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); -- 2.9.3 _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
