1
0
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:
Kano 2013-06-25 11:51:39 +10:00
parent 9dc2f3f175
commit 15dc64a696

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);