Commit 3d114b63 authored by Alvaro Herrera's avatar Alvaro Herrera

Use a constant sprintf format to silence compiler warning

parent c79c570b
...@@ -562,7 +562,7 @@ _dump_lru(void) ...@@ -562,7 +562,7 @@ _dump_lru(void)
snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "%d ", mru); snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "%d ", mru);
} }
snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "LEAST"); snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "LEAST");
elog(LOG, buf); elog(LOG, "%s", buf);
} }
#endif /* FDDEBUG */ #endif /* FDDEBUG */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment