Changed uio to offset in fdesc