Changeset 3100ebe in mainline for uspace/app/usbinfo/dump.c
- Timestamp:
- 2011-03-16T10:14:57Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 81ca204
- Parents:
- 2180979
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/usbinfo/dump.c
r2180979 r3100ebe 101 101 } 102 102 103 void dump_match_ids(match_id_list_t *matches )103 void dump_match_ids(match_id_list_t *matches, const char *line_prefix) 104 104 { 105 printf("Match ids:\n");106 105 link_t *link; 107 106 for (link = matches->ids.next; … … 110 109 match_id_t *match = list_get_instance(link, match_id_t, link); 111 110 112 printf( INDENT "%d %s\n", match->score, match->id);111 printf("%s%d %s\n", line_prefix, match->score, match->id); 113 112 } 114 113 }
Note:
See TracChangeset
for help on using the changeset viewer.