diff --git a/librz/debug/p/debug_native.c b/librz/debug/p/debug_native.c index 50073133784..3ebe03e133e 100644 --- a/librz/debug/p/debug_native.c +++ b/librz/debug/p/debug_native.c @@ -344,7 +344,7 @@ static RzDebugReasonType rz_debug_native_wait(RzDebug *dbg, int pid) { rz_bin_file_set_cur_binfile(core->bin, cur); } } else { - RZ_LOG_VERBOSE("The library %s does not exist.\n", lib->Path); + RZ_LOG_ERROR("The library %s does not exist.\n", lib->Path); } } } else { diff --git a/librz/debug/p/native/windows/windows_debug.c b/librz/debug/p/native/windows/windows_debug.c index f04dee032fa..d6a8b807d65 100644 --- a/librz/debug/p/native/windows/windows_debug.c +++ b/librz/debug/p/native/windows/windows_debug.c @@ -706,7 +706,7 @@ static char *get_file_name_from_handle(HANDLE handle_file) { CloseHandle(handle_file_map); } if (filename) { - char *ret = rz_sys_conv_win_to_utf8(filename); + char *ret = rz_utf16_to_utf8(filename); free(filename); return ret; }