summaryrefslogtreecommitdiffstats
path: root/save-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'save-xml.c')
-rw-r--r--save-xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/save-xml.c b/save-xml.c
index 8fa723f61..f386814f3 100644
--- a/save-xml.c
+++ b/save-xml.c
@@ -352,7 +352,7 @@ void save_dives(const char *filename)
struct dive *dive;
dive_trip_t *trip = NULL;
- FILE *f = fopen(filename, "w");
+ FILE *f = g_fopen(filename, "w");
if (!f)
return;