Skip to content

Commit cbdfa4c

Browse files
committed
Change log level from ERROR to VERBOSE for directory operations in _opendir
1 parent dbe8bf3 commit cbdfa4c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/dmvfs.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2226,7 +2226,7 @@ DMOD_INPUT_API_DECLARATION(dmvfs, 1.0, int, _opendir, (void** dp, const char* pa
22262226
mount_point_t* mp_entry = get_mount_point_for_path(abs_path);
22272227
if (!mp_entry)
22282228
{
2229-
DMOD_LOG_ERROR("No mount point found for path '%s'\n", abs_path);
2229+
DMOD_LOG_VERBOSE("No mount point found for path '%s'\n", abs_path);
22302230
Dmod_Free((void*)abs_path);
22312231
unlock_mutex();
22322232
return -1;
@@ -2237,7 +2237,7 @@ DMOD_INPUT_API_DECLARATION(dmvfs, 1.0, int, _opendir, (void** dp, const char* pa
22372237

22382238
if (!opendir_func)
22392239
{
2240-
DMOD_LOG_ERROR("File system does not support opendir for path '%s'\n", abs_path);
2240+
DMOD_LOG_VERBOSE("File system does not support opendir for path '%s'\n", abs_path);
22412241
Dmod_Free((void*)abs_path);
22422242
unlock_mutex();
22432243
return -1;
@@ -2250,7 +2250,7 @@ DMOD_INPUT_API_DECLARATION(dmvfs, 1.0, int, _opendir, (void** dp, const char* pa
22502250

22512251
if (result != 0 || dir_handle == NULL)
22522252
{
2253-
DMOD_LOG_ERROR("Failed to open directory '%s'\n", path);
2253+
DMOD_LOG_VERBOSE("Failed to open directory '%s'\n", path);
22542254
unlock_mutex();
22552255
return -1;
22562256
}

0 commit comments

Comments
 (0)