summaryrefslogtreecommitdiffstats
path: root/test/api/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/api/test.c')
-rw-r--r--test/api/test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/api/test.c b/test/api/test.c
index 85efb03d..144c5950 100644
--- a/test/api/test.c
+++ b/test/api/test.c
@@ -601,7 +601,7 @@ int main (int argc, char *argv[])
{
lvm_t libh;
- libh = lvm_create(NULL);
+ libh = lvm_init(NULL);
if (!libh) {
printf("Unable to open lvm library instance\n");
return 1;
@@ -609,7 +609,7 @@ int main (int argc, char *argv[])
lvmapi_test_shell(libh);
- lvm_destroy(libh);
+ lvm_quit(libh);
return 0;
}