From: Antonio Ospite Date: Sun, 25 Jan 2015 21:12:27 +0000 (+0100) Subject: am7xxx: make a comment clearer about SCAN_OP_OPEN_DEVICE X-Git-Tag: v0.1.6~40 X-Git-Url: https://git.ao2.it/libam7xxx.git/commitdiff_plain/8f6efd04b7f47174cf9e93adbcd11c5779db0c7e am7xxx: make a comment clearer about SCAN_OP_OPEN_DEVICE --- diff --git a/src/am7xxx.c b/src/am7xxx.c index ebc403e..f874469 100644 --- a/src/am7xxx.c +++ b/src/am7xxx.c @@ -832,7 +832,8 @@ out_libusb_close: } } - /* if we made it up to here we didn't find any device to open */ + /* if we made it up to here when op == SCAN_OP_OPEN_DEVICE, + * no devices to open had been found. */ if (op == SCAN_OP_OPEN_DEVICE) { error(ctx, "Cannot find any device to open\n"); ret = -ENODEV;