]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - console.c
patch from div0 that enables printf format warnings in gcc
[xonotic/darkplaces.git] / console.c
index f2226351c3fd3cb69a655902cc42f299eed73cc8..03671837fbdabba91f1e363d7bcfdd4e6ade0928 100644 (file)
--- a/console.c
+++ b/console.c
@@ -406,7 +406,7 @@ void Con_ConDump_f (void)
        file = FS_Open(Cmd_Argv(1), "wb", false, false);
        if (!file)
        {
-               Con_Printf("condump: unable to write file \"%s\"\n", file);
+               Con_Printf("condump: unable to write file \"%s\"\n", Cmd_Argv(1));
                return;
        }
        // iterate over the entire console history buffer line by line