Browse Source

usbutils - incorrect test for * in bus:dev

nfactor-troky
Kano 12 years ago
parent
commit
15dc64a696
  1. 2
      usbutils.c

2
usbutils.c

@ -2945,7 +2945,7 @@ void usb_initialise() @@ -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…
Cancel
Save