From 4690466a53e14209b1fdd8acf58761142a691af8 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sat, 28 Sep 2013 14:44:00 -0300 Subject: [PATCH] tools/lib/atusb-common.c (atusb_interrupt_wait): fix embarrassing build failure --- tools/lib/atusb-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lib/atusb-common.c b/tools/lib/atusb-common.c index 2d9b15a..7d58ebe 100644 --- a/tools/lib/atusb-common.c +++ b/tools/lib/atusb-common.c @@ -221,7 +221,7 @@ int atusb_interrupt_wait(void *handle, int timeout_ms) return 0; res = usb_bulk_read(dsc->dev, 1, - (char *) &buf, sizeof(buf), timeout_ms < 0 : 0 : timeout_ms); + (char *) &buf, sizeof(buf), timeout_ms < 0 ? 0 : timeout_ms); if (res == -ETIMEDOUT) return 0; if (res < 0) {