Changeset 1433ecda in mainline for uspace/drv/block/usbmast/main.c
- Timestamp:
- 2018-04-04T15:42:37Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/block/usbmast/main.c
r47b2d7e3 r1433ecda 179 179 usb_log_debug("Get LUN count..."); 180 180 mdev->lun_count = usb_masstor_get_lun_count(mdev); 181 mdev->luns = calloc(mdev->lun_count, sizeof(ddf_fun_t *));181 mdev->luns = calloc(mdev->lun_count, sizeof(ddf_fun_t *)); 182 182 if (mdev->luns == NULL) { 183 183 usb_log_error("Failed allocating luns table.");
Note:
See TracChangeset
for help on using the changeset viewer.