Browse Source

Merge pull request #455 from kanoi/master

usbutils - incorrect test for * in bus:dev
nfactor-troky
kanoi 12 years ago
parent
commit
713c880389
  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