]> git.zerfleddert.de Git - usb-driver/commitdiff
Merge branch 'master' of agrajag.zerfleddert.de:/git/usb-driver
authorMichael Gernoth <michael@gernoth.net>
Wed, 29 Aug 2007 08:37:46 +0000 (10:37 +0200)
committerMichael Gernoth <michael@gernoth.net>
Wed, 29 Aug 2007 08:37:46 +0000 (10:37 +0200)
usb-driver.c

index 05ba48a5424686995f1997b68c89e0650e4fdc64..929c1019484581a25a1ae33986583585f936ff39 100644 (file)
@@ -500,6 +500,7 @@ int do_wdioctl(int fd, unsigned int request, unsigned char *wdioctl) {
                                                } else {
                                                        devnum = strtol(devstr, &remainder, 10);
                                                        if (devstr == remainder) {
+                                                               busnum = -1;
                                                                devnum = -1;
                                                        } else {
                                                                fprintf(stderr,"Using XILINX platform cable USB at %03d:%03d\n",
Impressum, Datenschutz