windows/bba: pass c_str() instead of std::string object through a va_list
This commit is contained in:
parent
90f863a7a3
commit
7e75a052a4
|
@ -157,7 +157,7 @@ bool OpenTAP(HANDLE& adapter, const std::basic_string<TCHAR>& device_guid)
|
||||||
|
|
||||||
if (adapter == INVALID_HANDLE_VALUE)
|
if (adapter == INVALID_HANDLE_VALUE)
|
||||||
{
|
{
|
||||||
INFO_LOG(SP1, "Failed to open TAP at %s", device_path);
|
INFO_LOG(SP1, "Failed to open TAP at %s", device_path.c_str());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue