mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
usbutils - incorrect test for * in bus:dev
This commit is contained in:
parent
9dc2f3f175
commit
15dc64a696
@ -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…
Reference in New Issue
Block a user