mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Use a constant sprintf format to silence compiler warning
This commit is contained in:
@ -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 */
|
||||
|
||||
|
Reference in New Issue
Block a user