summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-09-07 09:57:04 +0000
committerng0 <ng0@n0.is>2019-09-07 09:57:04 +0000
commitf230357abbf514b19fd476de456b3e87c15376a5 (patch)
treeae4b17906a8830d418aaf31d7187bd5242375616
parentd3da1c73acc067f76e38022ca9786cca564e4d19 (diff)
downloadgnunet-f230357abbf514b19fd476de456b3e87c15376a5.tar.gz
gnunet-f230357abbf514b19fd476de456b3e87c15376a5.zip
gnunet-bcd: OPEN->open
-rw-r--r--src/gns/gnunet-bcd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/gnunet-bcd.c b/src/gns/gnunet-bcd.c
index 7906ffd4d..368afbbf5 100644
--- a/src/gns/gnunet-bcd.c
+++ b/src/gns/gnunet-bcd.c
@@ -225,7 +225,7 @@ access_handler_callback (void *cls,
225 if (WIFSIGNALED (ret) || (0 != WEXITSTATUS (ret))) 225 if (WIFSIGNALED (ret) || (0 != WEXITSTATUS (ret)))
226 GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, "system", p); 226 GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, "system", p);
227 GNUNET_asprintf (&deffile, "%s%s%s", tmp, DIR_SEPARATOR_STR, "gns-bcd.pdf"); 227 GNUNET_asprintf (&deffile, "%s%s%s", tmp, DIR_SEPARATOR_STR, "gns-bcd.pdf");
228 fd = OPEN (deffile, O_RDONLY); 228 fd = open (deffile, O_RDONLY);
229 if (-1 == fd) 229 if (-1 == fd)
230 { 230 {
231 GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, "open", deffile); 231 GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, "open", deffile);
@@ -445,7 +445,7 @@ run (void *cls,
445 GNUNET_asprintf (&fn, "%s%s%s", dir, DIR_SEPARATOR_STR, "gns-bcd.html"); 445 GNUNET_asprintf (&fn, "%s%s%s", dir, DIR_SEPARATOR_STR, "gns-bcd.html");
446 GNUNET_asprintf (&resfile, "%s%s%s", dir, DIR_SEPARATOR_STR, "gns-bcd.tex"); 446 GNUNET_asprintf (&resfile, "%s%s%s", dir, DIR_SEPARATOR_STR, "gns-bcd.tex");
447 GNUNET_free (dir); 447 GNUNET_free (dir);
448 fd = OPEN (fn, O_RDONLY); 448 fd = open (fn, O_RDONLY);
449 if (-1 == fd) 449 if (-1 == fd)
450 { 450 {
451 GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, "open", fn); 451 GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, "open", fn);