(barf_or_query_if_file_exists): Call format2 instead of format1.
authorRichard M. Stallman <rms@gnu.org>
Sat, 25 Jan 2003 19:48:59 +0000 (19:48 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 25 Jan 2003 19:48:59 +0000 (19:48 +0000)
src/fileio.c

index bfb15d2..b3fcda8 100644 (file)
@@ -2323,8 +2323,8 @@ barf_or_query_if_file_exists (absname, querystring, interactive, statptr, quick)
                 Fcons (build_string ("File already exists"),
                        Fcons (absname, Qnil)));
       GCPRO1 (absname);
-      tem = format1 ("File %s already exists; %s anyway? ",
-                    SDATA (absname), querystring);
+      tem = format2 ("File %s already exists; %s anyway? ",
+                    absname, build_string (querystring));
       if (quick)
        tem = Fy_or_n_p (tem);
       else