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

index 5cede13c13ddb25cd7b02c364c226af08f2a5490..1c7c50b7b2781db1455a8003149394caea659ebb 100644 (file)
--- a/src/zap.c
+++ b/src/zap.c
@@ -3901,7 +3901,7 @@ const char *msg;
        unearth_objs(x, y);
        if (Underwater) vision_recalc(1);
        newsym(x,y);
-       if (cansee(x,y)) Norep(msg);
+       if (cansee(x,y)) Norep("%s", msg);
        if ((otmp = sobj_at(BOULDER, x, y)) != 0) {
            if (cansee(x,y)) pline("%s settles...", An(xname(otmp)));
            do {