Changeset 4c53333 in mainline for uspace/app/usbinfo/list.c
- Timestamp:
- 2013-07-11T08:21:10Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 64e63ce1
- Parents:
- 80445cf (diff), c8bb1633 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 moved
-
uspace/app/usbinfo/list.c (moved) (moved from uspace/app/lsusb/main.c ) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/usbinfo/list.c
r80445cf r4c53333 40 40 #include <errno.h> 41 41 #include <str_error.h> 42 #include < bool.h>42 #include <stdbool.h> 43 43 #include <getopt.h> 44 44 #include <devman.h> … … 47 47 #include <usb/hc.h> 48 48 49 # define NAME "lsusb"49 #include "usbinfo.h" 50 50 51 51 #define MAX_USB_ADDRESS USB11_ADDRESS_MAX … … 90 90 } 91 91 92 int main(int argc, char *argv[])92 void list(void) 93 93 { 94 94 category_id_t usbhc_cat; … … 102 102 printf(NAME ": Error resolving category '%s'", 103 103 USB_HC_CATEGORY); 104 return 1;104 return; 105 105 } 106 106 … … 108 108 if (rc != EOK) { 109 109 printf(NAME ": Error getting list of host controllers.\n"); 110 return 1;110 return; 111 111 } 112 112 … … 131 131 132 132 free(svcs); 133 134 return 0;135 133 } 136 134
Note:
See TracChangeset
for help on using the changeset viewer.
