aboutsummaryrefslogtreecommitdiffstats
path: root/core/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/file.c')
-rw-r--r--core/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/file.c b/core/file.c
index 85537868f..d1cbc3c62 100644
--- a/core/file.c
+++ b/core/file.c
@@ -361,9 +361,9 @@ int parse_file(const char *filename, struct dive_table *table, struct trip_table
wl_name = strcat(wl_name, ".add");
if((ret = readfile(wl_name, &wl_mem)) < 0) {
fprintf(stderr, "No file %s found. No WLog extensions.\n", wl_name);
- ret = datatrak_import(&mem, NULL, table, trips, sites);
+ ret = datatrak_import(&mem, NULL, table, trips, sites, devices);
} else {
- ret = datatrak_import(&mem, &wl_mem, table, trips, sites);
+ ret = datatrak_import(&mem, &wl_mem, table, trips, sites, devices);
free(wl_mem.buffer);
}
free(mem.buffer);