Fix compiler warning in the proper way.

This commit is contained in:
Bruce Momjian 2004-08-08 07:00:22 +00:00
parent 6ec4520a5b
commit 640d0dc0f0
1 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.48 2004/08/08 06:58:00 momjian Exp $
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.49 2004/08/08 07:00:22 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -870,9 +870,10 @@ runPgDump(const char *dbname)
appendPQExpBufferChar(cmd, '\'');
#else
appendPQExpBufferChar(cmd, '"');
appendPQExpBuffer(cmd, SYSTEMQUOTE);
#endif
appendPQExpBuffer(cmd, "%s", SYSTEMQUOTE);
if (verbose)
fprintf(stderr, _("%s: running \"%s\"\n"), progname, cmd->data);