From d67e6ea75dde6309ce4c6162a4a0429ab8d6709b Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sat, 18 Aug 2012 22:08:29 +0100 Subject: 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. --- test-tool/test-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test-tool') diff --git a/test-tool/test-tool.c b/test-tool/test-tool.c index 865720ea..ca31c09f 100644 --- a/test-tool/test-tool.c +++ b/test-tool/test-tool.c @@ -241,7 +241,7 @@ main (int argc, char *argv[]) exit (EXIT_FAILURE); } - if (guestfs_mount_options (g, "", "/dev/sda1", "/") == -1) { + if (guestfs_mount (g, "/dev/sda1", "/") == -1) { fprintf (stderr, _("libguestfs-test-tool: failed to mount /dev/sda1 on /\n")); exit (EXIT_FAILURE); -- cgit