Changeset ed40c80 in rtems-libbsd


Ignore:
Timestamp:
Sep 20, 2018, 8:22:53 AM (7 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
647dd08ae2aa69b935c2847ea450fb824322ecae, c6261f97870562d4c797cfb1ff1ba0affb85a916
Children:
3f09126
Parents:
4d8f9e6
git-author:
Sebastian Huber <sebastian.huber@…> (09/20/18 08:22:53)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/20/18 08:24:35)
Message:

mDNSResponder: Fix gAllocatedEventFDs allocation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mDNSResponder/mDNSPosix/mDNSPosix.c

    r4d8f9e6 red40c80  
    12611261#ifdef __rtems__
    12621262    if (err == mStatus_NoError) {
    1263         gAllocatedEventFDs = calloc(1, howmany(rtems_libio_number_iops, sizeof(fd_set) * 8));
     1263        gAllocatedEventFDs = calloc(howmany(rtems_libio_number_iops, sizeof(fd_set) * 8), sizeof(fd_set));
    12641264        if (gAllocatedEventFDs == NULL) err = mStatus_NoMemoryErr;
    12651265    }
Note: See TracChangeset for help on using the changeset viewer.