mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Use a constant sprintf format to silence compiler warning
This commit is contained in:
parent
c79c570bd8
commit
3d114b63b2
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user