gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] 02/02: RPS test/profiler: Open file with right fla


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 02/02: RPS test/profiler: Open file with right flags
Date: Wed, 28 Nov 2018 11:30:14 +0100

This is an automated email from the git hooks/post-receive script.

julius-buenger pushed a commit to branch master
in repository gnunet.

commit 258520769186360519c61f43d8856c2fa01e7c16
Author: Julius Bünger <address@hidden>
AuthorDate: Wed Nov 28 11:20:33 2018 +0100

    RPS test/profiler: Open file with right flags
---
 src/rps/rps-test_util.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/rps/rps-test_util.c b/src/rps/rps-test_util.c
index 4383c7149..6644a1c20 100644
--- a/src/rps/rps-test_util.c
+++ b/src/rps/rps-test_util.c
@@ -88,6 +88,8 @@ get_file_handle (const char *name)
                                                            &hash))
   {
     fh = GNUNET_DISK_file_open (name,
+                                GNUNET_DISK_OPEN_WRITE |
+                                GNUNET_DISK_OPEN_CREATE |
                                 GNUNET_DISK_OPEN_APPEND,
                                 GNUNET_DISK_PERM_USER_READ |
                                 GNUNET_DISK_PERM_USER_WRITE |
@@ -95,7 +97,7 @@ get_file_handle (const char *name)
     if (NULL == fh)
     {
       LOG (GNUNET_ERROR_TYPE_ERROR,
-           "Openning file `%s' failed.\n",
+           "Opening file `%s' failed.\n",
            name);
       GNUNET_assert (0);
     }

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]