diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-08-18 22:08:29 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-08-18 22:08:29 +0100 |
commit | d67e6ea75dde6309ce4c6162a4a0429ab8d6709b (patch) | |
tree | e944fdbf86577e37759686d952bdbb337ff99e6d /tests/c-api/test-last-errno.c | |
parent | 781d72f55897b1ed923c795a0132241f53f6c6eb (diff) | |
download | libguestfs-d67e6ea75dde6309ce4c6162a4a0429ab8d6709b.tar.gz libguestfs-d67e6ea75dde6309ce4c6162a4a0429ab8d6709b.tar.xz libguestfs-d67e6ea75dde6309ce4c6162a4a0429ab8d6709b.zip |
Replace mount-options with mount where appropriate.
Since our minimum supported version is now 1.16 and mount was fixed in
1.13.16, it is now safe to replace mount-options + empty options with
mount wherever it occurs.
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"); |