summaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 2e40872a1..10bb4274e 100644
--- a/file.c
+++ b/file.c
@@ -210,7 +210,7 @@ static int try_to_open_csv(const char *filename, struct memblock *mem, enum csv_
finish_sample(&dive->dc);
time++;
- dive->duration.seconds = time;
+ dive->dc.duration.seconds = time;
if (*end != ',')
break;
p = end+1;