summaryrefslogtreecommitdiffstats
path: root/tests/c-api/test-user-cancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/c-api/test-user-cancel.c')
-rw-r--r--tests/c-api/test-user-cancel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/c-api/test-user-cancel.c b/tests/c-api/test-user-cancel.c
index fa860f5d..8bc2fc20 100644
--- a/tests/c-api/test-user-cancel.c
+++ b/tests/c-api/test-user-cancel.c
@@ -126,7 +126,7 @@ main (int argc, char *argv[])
if (guestfs_mkfs (g, "ext2", "/dev/sda1") == -1)
exit (EXIT_FAILURE);
- if (guestfs_mount_options (g, "", "/dev/sda1", "/") == -1)
+ if (guestfs_mount (g, "/dev/sda1", "/") == -1)
exit (EXIT_FAILURE);
/*----- Upload cancellation test -----*/