diff options
author | Bdale Garbee <bdale@gag.com> | 2015-07-16 13:31:42 -0600 |
---|---|---|
committer | Bdale Garbee <bdale@gag.com> | 2015-07-16 13:31:42 -0600 |
commit | 6e9bb9178356620bd47d9f2e31abf42b7f1a8f11 (patch) | |
tree | 6f04b5500462d1f6e26ebcba58c5e9cd56afd442 /ao-tools/ao-list/ao-list.c | |
parent | e2cefd8593d269ce603aaf33f4a53a5c2dcb3350 (diff) | |
parent | 87c8bb3956897830da1f7aaca2990a9571767b73 (diff) |
Merge branch 'master' into branch-1.6
Diffstat (limited to 'ao-tools/ao-list/ao-list.c')
-rw-r--r-- | ao-tools/ao-list/ao-list.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ao-tools/ao-list/ao-list.c b/ao-tools/ao-list/ao-list.c index c4b43d8f..4c065e79 100644 --- a/ao-tools/ao-list/ao-list.c +++ b/ao-tools/ao-list/ao-list.c @@ -28,12 +28,12 @@ main (int argc, char **argv) struct cc_usbdev *dev; int i; - devs = cc_usbdevs_scan(); + devs = cc_usbdevs_scan(TRUE); if (devs) { for (i = 0; i < devs->ndev; i++) { dev = devs->dev[i]; printf ("%-20.20s %6d %s\n", - dev->product, dev->serial, dev->tty); + dev->product, dev->serial, dev->tty ? dev->tty : "(none)"); } cc_usbdevs_free(devs); } |