Fixed the value of map->p_fd_offset when a read() fails or is