aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Henderson <william.henderson@nutanix.com>2023-08-31 09:18:37 +0000
committerJohn Levon <john.levon@nutanix.com>2023-09-15 13:05:01 +0100
commit0407472e387e0450bf46fbe8340a1d4f5443e4cf (patch)
tree836b0ad792235fd4b1b00cda3b250639641346cb
parentc445d2410a81b93fe53cfa98de7c184a98f63214 (diff)
downloadlibvfio-user-0407472e387e0450bf46fbe8340a1d4f5443e4cf.zip
libvfio-user-0407472e387e0450bf46fbe8340a1d4f5443e4cf.tar.gz
libvfio-user-0407472e387e0450bf46fbe8340a1d4f5443e4cf.tar.bz2
rename get_bitmap_size
Signed-off-by: William Henderson <william.henderson@nutanix.com>
-rw-r--r--samples/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/client.c b/samples/client.c
index afa2d4d..453e87a 100644
--- a/samples/client.c
+++ b/samples/client.c
@@ -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;