OSDN Git Service

auto_dump_printf()で、fprintf(.., "%s", str); とするべきところを
authormogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 22 Feb 2003 08:47:07 +0000 (08:47 +0000)
committermogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 22 Feb 2003 08:47:07 +0000 (08:47 +0000)
fprintf(.., str);と書いてしまっていたので修正。

src/cmd4.c

index ab7643e..433efe5 100644 (file)
@@ -249,7 +249,7 @@ static void auto_dump_printf(cptr fmt, ...)
        }
 
        /* Dump it */
-       fprintf(auto_dump_stream, buf);
+       fprintf(auto_dump_stream, "%s", buf);
 }