Code: Select all
static int align_pread(int(*fnct_pread)(disk_t *disk_car, void *buf, const unsigned int count, const uint64_t offset),
disk_t* disk_car, void*buf, const unsigned int count, const uint64_t offset)
{
...
...
Thanks much.
Code: Select all
static int align_pread(int(*fnct_pread)(disk_t *disk_car, void *buf, const unsigned int count, const uint64_t offset),
disk_t* disk_car, void*buf, const unsigned int count, const uint64_t offset)
{
...
...
Code: Select all
// device.c file
s64 ntfs_pread(struct ntfs_device* dev, const s64 pos, s64 count, void* b)
{
...
...
dops = dev->d_ops;
....
br = dops->pread(dev, (char*)b + total, count, pos + total);