diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2025-04-08 19:12:03 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2025-04-08 19:12:03 +0200 |
commit | 8969194b73dbc9642a0302225f686f9febd95c90 (patch) | |
tree | 25e693c82c2e57bab22345471ff636fc195ceafd | |
parent | b0a4c3e88b8b527679216dca5e2e9cbd49514e99 (diff) | |
download | postgresql-8969194b73dbc9642a0302225f686f9febd95c90.tar.gz postgresql-8969194b73dbc9642a0302225f686f9febd95c90.zip |
Fix incorrect format placeholder
for commit 749a9e20c97
-rw-r--r-- | contrib/pgcrypto/crypt-gensalt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pgcrypto/crypt-gensalt.c b/contrib/pgcrypto/crypt-gensalt.c index ef68ae0e49e..7149dce02d5 100644 --- a/contrib/pgcrypto/crypt-gensalt.c +++ b/contrib/pgcrypto/crypt-gensalt.c @@ -214,7 +214,7 @@ _crypt_gensalt_sha(unsigned long count, /* Skip magic bytes, set by callers */ s_ptr += 3; - if ((rc = pg_snprintf(s_ptr, 18, "rounds=%ld$", count)) <= 0) + if ((rc = pg_snprintf(s_ptr, 18, "rounds=%lu$", count)) <= 0) ereport(ERROR, errcode(ERRCODE_INTERNAL_ERROR), errmsg("cannot format salt string")); |