USB: Improve some cryptic warnings. (#4046)

This commit is contained in:
Florin9doi 2020-12-26 13:43:03 +02:00 committed by GitHub
parent 232c4b482a
commit 17d5f8985d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -62,7 +62,7 @@ namespace usb_hid
if (fd < 0)
{
Console.Warning("Unable to open device");
Console.Warning("Evdev: Unable to open device: %s", str.str().c_str());
continue;
}

View File

@ -73,7 +73,7 @@ namespace usb_pad
if (fd < 0)
{
Console.Warning("Unable to open device");
Console.Warning("Evdev: Unable to open device: %s", path.c_str());
continue;
}
@ -164,7 +164,7 @@ namespace usb_pad
if (fd < 0)
{
Console.Warning("Unable to open device");
Console.Warning("Evdev: Unable to open device: %s", path.c_str());
continue;
}

View File

@ -58,7 +58,7 @@ namespace usb_pad
if (fd < 0)
{
Console.Warning("Unable to open device");
Console.Warning("Joydev: Unable to open device: %s", path.c_str());
continue;
}