Changeset d024ff49 in rtems


Ignore:
Timestamp:
Aug 21, 2008, 1:06:53 PM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
a94ef122
Parents:
9ac81fe
Message:

Use memset instead of bzero.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/monitor/mon-network.c

    r9ac81fe rd024ff49  
    4646    int                 flags;
    4747
    48     bzero((void*) &ipaddr, sizeof(ipaddr));
    49     bzero((void*) &dstaddr, sizeof(dstaddr));
    50     bzero((void*) &netmask, sizeof(netmask));
    51     bzero((void*) &broadcast, sizeof(broadcast));
     48    memset(&ipaddr, 0, sizeof(ipaddr));
     49    memset(&dstaddr, 0, sizeof(dstaddr));
     50    memset(&netmask, 0, sizeof(netmask));
     51    memset(&broadcast, 0, sizeof(broadcast));
    5252   
    5353    ipaddr.sin_len = sizeof(ipaddr);
Note: See TracChangeset for help on using the changeset viewer.