summaryrefslogtreecommitdiff
path: root/src/dungeon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dungeon.c')
-rw-r--r--src/dungeon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dungeon.c b/src/dungeon.c
index 39f1b0ce..6025ee45 100644
--- a/src/dungeon.c
+++ b/src/dungeon.c
@@ -1489,7 +1489,7 @@ static void process_world(void)
{
char buf[20];
- sprintf(buf, get_day(bst(YEAR, turn) + START_YEAR));
+ sprintf(buf, "%s", get_day(bst(YEAR, turn) + START_YEAR));
cmsg_format(TERM_L_GREEN,
"Today it is %s of the %s year of the third age.",
get_month_name(bst(DAY, turn), wizard, FALSE), buf);