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:
commit
713c880389
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user