projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa70626
)
RPS test/profiler: Open file with right flags
author
Julius Bünger
<buenger@mytum.de>
Wed, 28 Nov 2018 10:20:33 +0000
(11:20 +0100)
committer
Julius Bünger
<buenger@mytum.de>
Wed, 28 Nov 2018 10:20:33 +0000
(11:20 +0100)
src/rps/rps-test_util.c
patch
|
blob
|
history
diff --git
a/src/rps/rps-test_util.c
b/src/rps/rps-test_util.c
index 4383c714992a8d93aac57545d536a31f8fa920bf..6644a1c20f3e8a43b619e5a04688e35ca527d911 100644
(file)
--- 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,
- "Open
n
ing file `%s' failed.\n",
+ "Opening file `%s' failed.\n",
name);
GNUNET_assert (0);
}