diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-09-06 11:14:22 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-09-06 11:14:22 -0400 |
commit | 75f7855369ec56d4a8e7d6eae98aff1182b85cac (patch) | |
tree | 6c6fe19a397c2a98b395df71a42534d832e1d352 | |
parent | a5322ca10fa16bed01e3e3d6c49c0f49c68b5593 (diff) | |
download | postgresql-75f7855369ec56d4a8e7d6eae98aff1182b85cac.tar.gz postgresql-75f7855369ec56d4a8e7d6eae98aff1182b85cac.zip |
Fix inconsistent argument naming.
Typo in commit 842cb9fa6.
-rw-r--r-- | src/port/dlopen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/port/dlopen.c b/src/port/dlopen.c index 897407c3af3..4cde484d9d3 100644 --- a/src/port/dlopen.c +++ b/src/port/dlopen.c @@ -33,7 +33,7 @@ dlopen(const char *file, int mode) flags |= BIND_DEFERRED; #endif - return shl_load(filename, flags | BIND_VERBOSE, 0L); + return shl_load(file, flags | BIND_VERBOSE, 0L); } void * @@ -123,14 +123,14 @@ dlsym(void *handle, const char *symbol) } void * -dlopen(const char *path, int mode) +dlopen(const char *file, int mode) { HMODULE h; int prevmode; /* Disable popup error messages when loading DLLs */ prevmode = SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOOPENFILEERRORBOX); - h = LoadLibrary(path); + h = LoadLibrary(file); SetErrorMode(prevmode); if (!h) |