summaryrefslogtreecommitdiffstats
path: root/mbbsd/vote.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/vote.c')
-rw-r--r--mbbsd/vote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/vote.c b/mbbsd/vote.c
index ce92c21f..0a91f3f2 100644
--- a/mbbsd/vote.c
+++ b/mbbsd/vote.c
@@ -151,7 +151,7 @@ vote_report(const char *bname, const char *fname, char *fpath)
}
strlcpy(header.filename, ip, sizeof(header.filename));
- strcpy(ip, ".DIR");
+ strcpy(ip, FN_DIR);
if ((fd = open(fpath, O_WRONLY | O_CREAT, 0644)) >= 0) {
flock(fd, LOCK_EX);
lseek(fd, 0, SEEK_END);