[*] Amend error message fmt arg in Process.cpp
{*] Obvious linux build error
This commit is contained in:
parent
d99c23d638
commit
63fab703cc
@ -239,14 +239,14 @@ namespace Aurora::Process
|
||||
auto handle = LoadLibraryW(Locale::ConvertFromUTF8(path).c_str());
|
||||
if (handle == INVALID_HANDLE_VALUE)
|
||||
{
|
||||
SysPushErrorNested("Could't link dynamic library {}", handle);
|
||||
SysPushErrorNested("Could't link dynamic library {}", path);
|
||||
return {};
|
||||
}
|
||||
#else
|
||||
auto handle = dlopen(path, RTLD_DEEPBIND);
|
||||
if (handle != INVALID_HANDLE_VALUE)
|
||||
auto handle = dlopen(path.c_str(), RTLD_DEEPBIND);
|
||||
if (handle == nullptr)
|
||||
{
|
||||
SysPushErrorNested("Could't link dynamic library {}", handle);
|
||||
SysPushErrorNested("Could't link dynamic library {}", path);
|
||||
return {};
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user