aboutsummaryrefslogtreecommitdiff
path: root/samples/null.c
diff options
context:
space:
mode:
authorswapnili <swapnil.ingle@nutanix.com>2020-11-30 18:57:23 +0100
committerGitHub <noreply@github.com>2020-11-30 18:57:23 +0100
commitaf96383f32eae7b07a2d70b6bcabe5f7c2bede98 (patch)
tree05f2dff1071baf58f1736b353d7cd228df557512 /samples/null.c
parentbc2b5f0ca7adfaeabbcb9e9c4145ec8b84ee985a (diff)
downloadlibvfio-user-af96383f32eae7b07a2d70b6bcabe5f7c2bede98.zip
libvfio-user-af96383f32eae7b07a2d70b6bcabe5f7c2bede98.tar.gz
libvfio-user-af96383f32eae7b07a2d70b6bcabe5f7c2bede98.tar.bz2
Misc cleanup (#138)
* Rename vfu_ctx_destroy() to vfu_destroy_ctx() * Remove unused function copy_sparse_mmap_area() * Coding style fixes Signed-off-by: Swapnil Ingle <swapnil.ingle@nutanix.com> Reviewed-by: John Levon <john.levon@nutanix.com>
Diffstat (limited to 'samples/null.c')
-rw-r--r--samples/null.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/null.c b/samples/null.c
index 1998a08..99e35cc 100644
--- a/samples/null.c
+++ b/samples/null.c
@@ -102,7 +102,7 @@ int main(int argc, char **argv)
errno = ret;
err(EXIT_FAILURE, "failed to create pthread");
}
- vfu_ctx_destroy(vfu_ctx);
+ vfu_destroy_ctx(vfu_ctx);
printf("device emulation stopped and cleaned up, press enter to exit\n");
if (getchar() == EOF) {