about summary refs log tree commit diff stats
path: root/whitelist.c
diff options
context:
space:
mode:
Diffstat (limited to 'whitelist.c')
-rw-r--r--whitelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/whitelist.c b/whitelist.c
index f9df480..1f1263a 100644
--- a/whitelist.c
+++ b/whitelist.c
@@ -139,7 +139,7 @@ wl_save(struct tab *t, struct karg *args, int list)
 		goto done;
 	}
 
-	snprintf(file, sizeof file, "%s/%s", work_dir, runtime_settings);
+	snprintf(file, sizeof file, "%s" PS "%s", work_dir, runtime_settings);
 	if ((f = fopen(file, "r+")) == NULL) {
 		show_oops(t, "can't open file %s");
 		goto done;