Changeset ef9460b in mainline for uspace/lib/drv/generic/driver.c


Ignore:
Timestamp:
2011-07-14T21:55:18Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
333c233
Parents:
159100a
Message:

ddf_fun_add_match_id() should copy its string argument.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/driver.c

    r159100a ref9460b  
    620620                return ENOMEM;
    621621       
    622         match_id->id = match_id_str;
     622        match_id->id = str_dup(match_id_str);
    623623        match_id->score = 90;
    624624       
Note: See TracChangeset for help on using the changeset viewer.