Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 8e3d17f in mainline


Ignore:
Timestamp:
2011-09-14T14:53:58Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
56e9fb0
Parents:
5d915b7
Message:

ohci: calloc parameter order fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/ohci_batch.c

    r5d915b7 r8e3d17f  
    8686
    8787        ohci_transfer_batch_t *ohci_batch =
    88             calloc(sizeof(ohci_transfer_batch_t), 1);
     88            calloc(1, sizeof(ohci_transfer_batch_t));
    8989        CHECK_NULL_DISPOSE_RET(ohci_batch,
    9090            "Failed to allocate OHCI batch data.\n");
Note: See TracChangeset for help on using the changeset viewer.