Changeset db81577 in mainline for uspace/srv/net/udp/sock.c


Ignore:
Timestamp:
2012-08-23T15:45:16Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
48e3190, 5572ad1, beb9336
Parents:
f0a2720
Message:

Fix calloc() argument order.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/udp/sock.c

    rf0a2720 rdb81577  
    104104
    105105        log_msg(LVL_DEBUG, "udp_sock_socket()");
    106         sock = calloc(sizeof(udp_sockdata_t), 1);
     106        sock = calloc(1, sizeof(udp_sockdata_t));
    107107        if (sock == NULL) {
    108108                async_answer_0(callid, ENOMEM);
Note: See TracChangeset for help on using the changeset viewer.