Skip to content

Commit cf6e441

Browse files
committed
api: log instance id when object file name is empty
Signed-off-by: Jason A. Donenfeld <[email protected]>
1 parent bf5b170 commit cf6e441

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/adapter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ static _Return_type_success_(return != NULL) WCHAR *GetDeviceObjectFileName(_In_
228228
}
229229
if (!Interfaces[0])
230230
{
231-
LOG(WINTUN_LOG_ERR, L"Received empty adapter object file name");
231+
LOG(WINTUN_LOG_ERR, L"Received empty adapter %s object file name", InstanceId);
232232
Free(Interfaces);
233233
SetLastError(ERROR_DEVICE_NOT_AVAILABLE);
234234
return NULL;

0 commit comments

Comments
 (0)