Pino Toscano
2017-Jan-05 12:27 UTC
[Libguestfs] [PATCH] fuse: use the configured program name
When initializing FUSE, use the program name as set (either automatically or manually) in the guestfs handle. --- src/fuse.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/fuse.c b/src/fuse.c index 0180f8f..98bbc8d 100644 --- a/src/fuse.c +++ b/src/fuse.c @@ -989,8 +989,7 @@ guestfs_impl_mount_local (guestfs_h *g, const char *localmountpoint, return -1; /* Create the FUSE 'args'. */ - /* XXX we don't have a program name */ - if (fuse_opt_add_arg (&args, "guestfs_mount_local") == -1) { + if (fuse_opt_add_arg (&args, g->program) == -1) { arg_error: perrorf (g, _("fuse_opt_add_arg: %s"), localmountpoint); fuse_opt_free_args (&args); -- 2.7.4
Maybe Matching Threads
- [PATCH v2] fuse: use the configured program name
- Re: [PATCH v2] fuse: use the configured program name
- [RFC] fuse: mount_local: Fix crash when called from Java binding
- [PATCH v2] fuse: mount_local: Fix crash when called from Java binding.
- Re: [PATCH libnbd] nbdfuse: New tool to present a network block device in a FUSE filesystem.