Change ftdi_open_bus_port to ftdi_open_bus_addr, since libusb_get_port_number is...
[libftdi] / examples / baud_test.c
index ccb5a3d..eb50e2f 100644 (file)
@@ -220,5 +220,5 @@ done:
         free(rxbuf);
     if(txbuf)
         free(txbuf);
-    exit (0);
+    exit (retval);
 }