Changeset 92fd52d7 in mainline for uspace/srv/pci/libpci/names.c


Ignore:
Timestamp:
2009-04-09T21:16:50Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7afb4a5
Parents:
a2c58f6
Message:

Nuke strcpy() and strcmp().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/pci/libpci/names.c

    ra2c58f6 r92fd52d7  
    104104        unsigned int h = id_hash(cat, id12, id34);
    105105        struct id_entry *n = a->id_hash[h];
    106         int len = strlen((char *) text);
     106        int len = str_size((char *) text);
    107107
    108108        while (n && (n->id12 != id12 || n->id34 != id34 || n->cat != cat))
Note: See TracChangeset for help on using the changeset viewer.