Fix inconsistent argument naming.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 Sep 2018 15:14:22 +0000 (11:14 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 Sep 2018 15:14:22 +0000 (11:14 -0400)
Typo in commit 842cb9fa6.

src/port/dlopen.c

index 897407c3af3ae9d0b1d550b624026c7cf679d8f0..4cde484d9d384dfe93bf051f5ab96d7cdd5ec8d1 100644 (file)
@@ -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)