Changeset 1dc4a5e in mainline for uspace/app/lsusb/main.c


Ignore:
Timestamp:
2011-08-18T13:34:33Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
763e0cd
Parents:
99ac5cf
Message:

Renaming to reflect classes are gone.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/lsusb/main.c

    r99ac5cf r1dc4a5e  
    5454static void print_found_hc(service_id_t sid, const char *path)
    5555{
    56         // printf(NAME ": host controller %zu is `%s'.\n", class_index, path);
    5756        printf("Bus %" PRIun ": %s\n", sid, path);
    5857}
    5958static void print_found_dev(usb_address_t addr, const char *path)
    6059{
    61         // printf(NAME ":     device with address %d is `%s'.\n", addr, path);
    6260        printf("  Device %02d: %s\n", addr, path);
    6361}
     
    10098        int rc;
    10199
    102         rc = loc_category_get_id(USB_HC_DDF_CLASS_NAME, &usbhc_cat, 0);
     100        rc = loc_category_get_id(USB_HC_CATEGORY, &usbhc_cat, 0);
    103101        if (rc != EOK) {
    104102                printf(NAME ": Error resolving category '%s'",
    105                     USB_HC_DDF_CLASS_NAME);
     103                    USB_HC_CATEGORY);
    106104                return 1;
    107105        }
Note: See TracChangeset for help on using the changeset viewer.