Fix typo in reference to __FreeBSD__.

Thomas Munro <tmunro@postgresql.org>

Commit: e52f8b301ed54aac5162b185b43f5f1e44b6b17e
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2022-12-16T04:36:22Z
Releases: 16.0
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

Files

PathChange+/−
src/include/utils/elog.h modified +1 −1

Discussion