Commit 58a4a825 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

restore: Fix typo in try_fixup_file_map

vma_entry is already a pointer -- no need
for second ampersand.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
parent 11cf71c5
......@@ -599,7 +599,7 @@ static int try_fixup_file_map(int pid, struct vma_entry *vma_entry, int fd)
lseek(fd, -sizeof(*vma_entry), SEEK_CUR);
vma_entry->fd = fmap_fd->fd;
write_ptr_safe(fd, &vma_entry, err);
write_ptr_safe(fd, vma_entry, err);
free(fmap_fd);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment