Changeset d120133 in mainline for uspace/lib/hound/src/protocol.c


Ignore:
Timestamp:
2013-05-27T13:08:44Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
192565b
Parents:
4e72a4c
Message:

Use memset instead of bzero

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/hound/src/protocol.c

    r4e72a4c rd120133  
    212212                        char *name = malloc(sizes[i] + 1);
    213213                        if (name) {
    214                                 bzero(name, sizes[i] + 1);
     214                                memset(name, 0, sizes[i] + 1);
    215215                                ret = async_data_read_start(exch, name, sizes[i]);
    216216                                names[i] = name;
Note: See TracChangeset for help on using the changeset viewer.