mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +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), "%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 */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user