From: nhmall Date: Tue, 2 Feb 2021 21:06:25 +0000 (-0500) Subject: warning fix - missing format string in botl.c X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a165538331ab6a2072d8f32de20ab9502ba5b01c;p=nethack warning fix - missing format string in botl.c --- diff --git a/src/botl.c b/src/botl.c index ff4e86be7..3905dfda7 100644 --- a/src/botl.c +++ b/src/botl.c @@ -88,7 +88,7 @@ do_statusline1(void) get_strength_str(), ACURR(A_DEX), ACURR(A_CON), ACURR(A_INT), ACURR(A_WIS), ACURR(A_CHA)); - Sprintf(nb = eos(nb), + Sprintf(nb = eos(nb), "%s", (u.ualign.type == A_CHAOTIC) ? " Chaotic" : (u.ualign.type == A_NEUTRAL) ? " Neutral" : " Lawful");