summaryrefslogtreecommitdiffstats
path: root/mbbsd/lovepaper.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/lovepaper.c')
-rw-r--r--mbbsd/lovepaper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/lovepaper.c b/mbbsd/lovepaper.c
index 4a2a1a18..b93fefbd 100644
--- a/mbbsd/lovepaper.c
+++ b/mbbsd/lovepaper.c
@@ -13,7 +13,7 @@ x_love()
fileheader_t mhdr;
setutmpmode(LOVE);
- gtime = localtime(&now);
+ gtime = localtime4(&now);
snprintf(buf1, sizeof(buf1), "%c/%s/love%d%d",
cuser.userid[0], cuser.userid, gtime->tm_sec, gtime->tm_min);
strcat(path, buf1);