From: Richard Jones Date: Tue, 17 Nov 2009 16:59:52 +0000 (+0000) Subject: fuse: Fix symlink creation (RHBZ#538069). X-Git-Tag: 1.0.79~10 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=366339d41bc9af9d529f2118e1c971c49089d432;p=libguestfs.git fuse: Fix symlink creation (RHBZ#538069). The parameters were swapped, preventing symlinks from being created. --- diff --git a/fuse/guestmount.c b/fuse/guestmount.c index 739d8cb..ce578c1 100644 --- a/fuse/guestmount.c +++ b/fuse/guestmount.c @@ -427,7 +427,7 @@ fg_symlink (const char *from, const char *to) dir_cache_invalidate (to); - r = guestfs_ln_s (g, to, from); + r = guestfs_ln_s (g, from, to); if (r == -1) return error ();