Changeset 3100ebe in mainline for uspace/app/usbinfo/dump.c


Ignore:
Timestamp:
2011-03-16T10:14:57Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
81ca204
Parents:
2180979
Message:

Preparation for more modular usbinfo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/usbinfo/dump.c

    r2180979 r3100ebe  
    101101}
    102102
    103 void dump_match_ids(match_id_list_t *matches)
     103void dump_match_ids(match_id_list_t *matches, const char *line_prefix)
    104104{
    105         printf("Match ids:\n");
    106105        link_t *link;
    107106        for (link = matches->ids.next;
     
    110109                match_id_t *match = list_get_instance(link, match_id_t, link);
    111110
    112                 printf(INDENT "%d %s\n", match->score, match->id);
     111                printf("%s%d %s\n", line_prefix, match->score, match->id);
    113112        }
    114113}
Note: See TracChangeset for help on using the changeset viewer.