summaryrefslogtreecommitdiffhomepage
path: root/src/helper
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/mdso_create_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/mdso_create_output.c b/src/helper/mdso_create_output.c
index d508cc3..9d95d10 100644
--- a/src/helper/mdso_create_output.c
+++ b/src/helper/mdso_create_output.c
@@ -26,7 +26,7 @@ static int mdso_create_output(
fddst = mdso_driver_fddst(dctx);
if ((fdout = openat(fddst,name,
- O_CREAT|O_TRUNC|O_WRONLY|O_NOCTTY|O_NOFOLLOW,
+ O_CREAT|O_TRUNC|O_RDWR|O_NOCTTY|O_NOFOLLOW,
S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH)) < 0)
return MDSO_SYSTEM_ERROR(dctx);