aboutsummaryrefslogtreecommitdiff
path: root/samples/null.c
diff options
context:
space:
mode:
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) {