summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2017-09-14 12:30:03 +0000
committerPeter Eisentraut2017-11-04 16:00:58 +0000
commitcb29ff8315ef74043f279c21783cca8aaf79ebde (patch)
tree761bf31ecc8a10586b26d4c5e0493758d0a600a9
parenta9169f0200fc57e01cbd216bbd41c9ea3a79a7b0 (diff)
Fix incorrect use of bool
NSUnLinkModule() doesn't take a bool as second argument but one of set of specific constants. The numeric values are the same in this case, but clean it up while we're cleaning up bool use elsewhere. Reviewed-by: Michael Paquier <[email protected]>
-rw-r--r--src/backend/port/dynloader/darwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/port/dynloader/darwin.c b/src/backend/port/dynloader/darwin.c
index f8fdeaf1222..18092cc759b 100644
--- a/src/backend/port/dynloader/darwin.c
+++ b/src/backend/port/dynloader/darwin.c
@@ -69,7 +69,7 @@ pg_dlopen(char *filename)
void
pg_dlclose(void *handle)
{
- NSUnLinkModule(handle, FALSE);
+ NSUnLinkModule(handle, NSUNLINKMODULE_OPTION_NONE);
}
PGFunction