diff options
author | Bdale Garbee <bdale@gag.com> | 2015-07-15 16:43:50 -0600 |
---|---|---|
committer | Bdale Garbee <bdale@gag.com> | 2015-07-15 16:43:50 -0600 |
commit | 643c2fb03833d658320f476ef731bbb06fe3cc31 (patch) | |
tree | 878c9df5dbd9bab9169becea4e06e8bae3529541 /ao-tools/ao-list/ao-list.c | |
parent | e41786fb384892961a6547e17812a24314ce9623 (diff) | |
parent | 271f56a41c7e785b0fab7e572325df842d104277 (diff) |
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
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); } |