Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 607954
Collapse All | Expand All

(-)dff-1.3.0/dff/modules/connector/ewf/ewf.cpp.org (-1 / +1 lines)
Lines 225-231 int ewf::vread(int fd, void *buff, unsig Link Here
225
  }
225
  }
226
  int res = 0;
226
  int res = 0;
227
  mutex_lock(&this->__io_mutex);
227
  mutex_lock(&this->__io_mutex);
228
  res = libewf_handle_read_random(this->ewf_ghandle, buff, size, fi->offset, NULL);
228
  res = libewf_handle_read_buffer_at_offset(this->ewf_ghandle, buff, size, fi->offset, NULL);
229
  if (res > 0)
229
  if (res > 0)
230
    fi->offset += res;
230
    fi->offset += res;
231
  mutex_unlock(&this->__io_mutex);
231
  mutex_unlock(&this->__io_mutex);

Return to bug 607954