Skip to content

Commit 75f7855

Browse files
committed
Fix inconsistent argument naming.
Typo in commit 842cb9f.
1 parent a5322ca commit 75f7855

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/port/dlopen.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ dlopen(const char *file, int mode)
3333
flags |= BIND_DEFERRED;
3434
#endif
3535

36-
return shl_load(filename, flags | BIND_VERBOSE, 0L);
36+
return shl_load(file, flags | BIND_VERBOSE, 0L);
3737
}
3838

3939
void *
@@ -123,14 +123,14 @@ dlsym(void *handle, const char *symbol)
123123
}
124124

125125
void *
126-
dlopen(const char *path, int mode)
126+
dlopen(const char *file, int mode)
127127
{
128128
HMODULE h;
129129
int prevmode;
130130

131131
/* Disable popup error messages when loading DLLs */
132132
prevmode = SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOOPENFILEERRORBOX);
133-
h = LoadLibrary(path);
133+
h = LoadLibrary(file);
134134
SetErrorMode(prevmode);
135135

136136
if (!h)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy