diff options
Diffstat (limited to 'tests/c-api/test-last-errno.c')
-rw-r--r-- | tests/c-api/test-last-errno.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/c-api/test-last-errno.c b/tests/c-api/test-last-errno.c index 49ec556d..b515624f 100644 --- a/tests/c-api/test-last-errno.c +++ b/tests/c-api/test-last-errno.c @@ -104,7 +104,7 @@ main (int argc, char *argv[]) exit (EXIT_FAILURE); /* Mount it writable and test some other errors. */ - if (guestfs_mount_options (g, "", "/dev/sda1", "/") == -1) + if (guestfs_mount (g, "/dev/sda1", "/") == -1) exit (EXIT_FAILURE); stat = guestfs_lstat (g, "/nosuchfile"); |