Use a constant sprintf format to silence compiler warning

This commit is contained in:
Alvaro Herrera 2011-06-10 13:37:06 -04:00
parent c79c570bd8
commit 3d114b63b2

View File

@ -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), "LEAST");
elog(LOG, buf);
elog(LOG, "%s", buf);
}
#endif /* FDDEBUG */