summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pub/skabus-pubd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pub/skabus-pubd.c b/src/pub/skabus-pubd.c
index 7ecce5d..4fbe7f8 100644
--- a/src/pub/skabus-pubd.c
+++ b/src/pub/skabus-pubd.c
@@ -272,7 +272,7 @@ static int store_text (char const *s, size_t len)
return -1 ;
}
fd_close(fd) ;
- fd = open(fn, O_RDONLY) ; /* too bad you can't just lose writing rights */
+ fd = open2(fn, O_RDONLY) ; /* too bad you can't just lose writing rights */
unlink_void(fn) ; /* still there as long as fd is open */
return fd ;
}