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

+3-3
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)