Skip to content

Commit 9f7706e

Browse files
committed
Add error log when the device number is not found
1 parent b5833bc commit 9f7706e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/overwitch.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,7 @@ ow_get_device_from_device_attrs (int device_num, const char *device_name,
476476
if (i == total)
477477
{
478478
err = 1;
479+
error_print ("Device %d not found", device_num);
479480
}
480481
else
481482
{

0 commit comments

Comments
 (0)