aboutsummaryrefslogtreecommitdiff
path: root/samples/gpio-pci-idio-16.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/gpio-pci-idio-16.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/gpio-pci-idio-16.c')
-rw-r--r--samples/gpio-pci-idio-16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/gpio-pci-idio-16.c b/samples/gpio-pci-idio-16.c
index 86d5177..17dfdaa 100644
--- a/samples/gpio-pci-idio-16.c
+++ b/samples/gpio-pci-idio-16.c
@@ -136,7 +136,7 @@ main(int argc, char *argv[])
}
out:
- vfu_ctx_destroy(vfu_ctx);
+ vfu_destroy_ctx(vfu_ctx);
return ret;
}