Skip to content

Commit

Permalink
rename get_bitmap_size
Browse files Browse the repository at this point in the history
Signed-off-by: William Henderson <william.henderson@nutanix.com>
  • Loading branch information
w-henderson authored and jlevon committed Sep 15, 2023
1 parent bd0e0cf commit 2348710
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -794,8 +794,8 @@ get_dirty_bitmap(int sock, struct vfio_user_dma_map *dma_region)
char *bitmap;
int ret;

uint64_t bitmap_size = _get_bitmap_size(dma_region->size,
sysconf(_SC_PAGESIZE));
uint64_t bitmap_size = get_bitmap_size(dma_region->size,
sysconf(_SC_PAGESIZE));

size_t size = sizeof(*res) + sizeof(*report) + bitmap_size;

Expand Down

0 comments on commit 2348710

Please sign in to comment.