Skip to content

Commit b057cc5

Browse files
committed
Fix typo
1 parent 3347a63 commit b057cc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doorstop.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ void doorstop_init_mono_functions(void *handle)
9191
void *jit_init_hook(const char *root_domain_name, const char *runtime_version)
9292
{
9393
char *override = getenv("DOORSTOP_CORLIB_OVERRIDE_PATH");
94-
DIR *override_dir = dirent(override);
94+
DIR *override_dir = opendir(override);
9595
char *assembly_dir = r_mono_assembly_getrootdir();
9696
if (override && override_dir) {
9797
closedir(override_dir);
@@ -110,7 +110,7 @@ void *jit_init_hook(const char *root_domain_name, const char *runtime_version)
110110
setenv("DOORSTOP_DLL_SEARCH_DIRS", search_path, 1);
111111
free(search_path);
112112
} else {
113-
prtinf("No override (or failed to find), unsetting.");
113+
printf("No override (or failed to find), unsetting.\n");
114114
unsetenv("DOORSTOP_CORLIB_OVERRIDE_PATH");
115115
setenv("DOORSTOP_DLL_SEARCH_DIRS", assembly_dir, 1);
116116
}

0 commit comments

Comments
 (0)