windows/bba: pass c_str() instead of std::string object through a va_list

This commit is contained in:
Shawn Hoffman 2017-06-07 04:19:28 -07:00
parent 90f863a7a3
commit 7e75a052a4
1 changed files with 1 additions and 1 deletions

View File

@ -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;