1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-03-09 20:21:01 +00:00

Merge pull request #455 from kanoi/master

usbutils - incorrect test for * in bus:dev
This commit is contained in:
kanoi 2013-06-24 18:53:26 -07:00
commit 713c880389

View File

@ -2945,7 +2945,7 @@ void usb_initialise()
if (bus <= 0)
quit(1, "Invalid --usb bus:dev - bus must be > 0");
if (!colon == '*')
if (*colon == '*')
dev = -1;
else {
dev = atoi(colon);