summaryrefslogtreecommitdiff
path: root/src/gns/gnunet-bcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/gnunet-bcd.c')
-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,
if (WIFSIGNALED (ret) || (0 != WEXITSTATUS (ret)))
GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, "system", p);
GNUNET_asprintf (&deffile, "%s%s%s", tmp, DIR_SEPARATOR_STR, "gns-bcd.pdf");
- fd = OPEN (deffile, O_RDONLY);
+ fd = open (deffile, O_RDONLY);
if (-1 == fd)
{
GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, "open", deffile);
@@ -445,7 +445,7 @@ run (void *cls,
GNUNET_asprintf (&fn, "%s%s%s", dir, DIR_SEPARATOR_STR, "gns-bcd.html");
GNUNET_asprintf (&resfile, "%s%s%s", dir, DIR_SEPARATOR_STR, "gns-bcd.tex");
GNUNET_free (dir);
- fd = OPEN (fn, O_RDONLY);
+ fd = open (fn, O_RDONLY);
if (-1 == fd)
{
GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, "open", fn);