]> granicus.if.org Git - nethack/commitdiff
another compiler warning
authorkeni <keni>
Sat, 5 Mar 2011 20:40:46 +0000 (20:40 +0000)
committerkeni <keni>
Sat, 5 Mar 2011 20:40:46 +0000 (20:40 +0000)
src/zap.c

index 5e20e6c706cad0c81403ce8271f545952412f459..8c41df96eb2c7913d0ea85415399f9a55fe6c419 100644 (file)
--- a/src/zap.c
+++ b/src/zap.c
@@ -4670,7 +4670,7 @@ retry:
        if (!otmp) {
            pline("Nothing fitting that description exists in the game.");
            if (++tries < MAXWISHTRY) goto retry;
-           pline(thats_enough_tries);
+           pline("%s", thats_enough_tries);
            otmp = readobjnam((char *)0, (struct obj *)0);
            if (!otmp) return;  /* for safety; should never happen */
        } else if (otmp == &nothing) {