about summary refs log tree commit diff
path: root/chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'chat.c')
-rw-r--r--chat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chat.c b/chat.c
index 3020be9..9934fc3 100644
--- a/chat.c
+++ b/chat.c
@@ -283,7 +283,7 @@ int main(int argc, char *argv[]) {
 
 #ifdef __OpenBSD__
 	if (self.restricted && log) {
-		const char *logdir = dataMkdir("");
+		const char *logdir = dataMkdir("log");
 		int error = unveil(logdir, "wc");
 		if (error) err(EX_OSERR, "unveil");
 	}