Fix typo in reference to __FreeBSD__.
authorThomas Munro <tmunro@postgresql.org>
Fri, 16 Dec 2022 04:36:22 +0000 (17:36 +1300)
committerThomas Munro <tmunro@postgresql.org>
Fri, 16 Dec 2022 04:36:22 +0000 (17:36 +1300)
commite52f8b301ed54aac5162b185b43f5f1e44b6b17e
tree7fd24f655021819ad2ab635e709267f2c9107bcb
parent4a29eabd1d91c5484426bc5836e0a7143b064f5a
Fix typo in reference to __FreeBSD__.

Commit a2a8acd152 introduced a platform-dependent mechanism to prevent
developers from referencing errno in the argument list of
elog()/ereport(), but didn't use the right macro to detect FreeBSD, so
it didn't actually work there.

Reported-by: Japin Li <japinli@hotmail.com>
Discussion: https://postgr.es/m/MEYP282MB16693AAEEF84F47D8F7CA007B6E69%40MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
src/include/utils/elog.h