aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_namespace.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/fs_namespace.c')
-rw-r--r--src/fs/fs_namespace.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/fs/fs_namespace.c b/src/fs/fs_namespace.c
index 07f4a5653..69876b8b5 100644
--- a/src/fs/fs_namespace.c
+++ b/src/fs/fs_namespace.c
@@ -204,7 +204,9 @@ write_update_information_graph (struct GNUNET_FS_UpdateInformationGraph *uig)
204 if (NULL == wh) 204 if (NULL == wh)
205 { 205 {
206 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 206 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
207 _("Failed to open `%s' for writing: %s\n"), STRERROR (errno)); 207 _("Failed to open `%s' for writing: %s\n"),
208 fn,
209 STRERROR (errno));
208 GNUNET_free (fn); 210 GNUNET_free (fn);
209 return; 211 return;
210 } 212 }
@@ -226,7 +228,9 @@ write_update_information_graph (struct GNUNET_FS_UpdateInformationGraph *uig)
226 } 228 }
227END: 229END:
228 if (GNUNET_OK != GNUNET_BIO_write_close (wh)) 230 if (GNUNET_OK != GNUNET_BIO_write_close (wh))
229 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, _("Failed to write `%s': %s\n"), 231 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
232 _("Failed to write `%s': %s\n"),
233 fn,
230 STRERROR (errno)); 234 STRERROR (errno));
231 GNUNET_free (fn); 235 GNUNET_free (fn);
232} 236}