From e2e91cebbae247885ff410fc9ba38561b90913f7 Mon Sep 17 00:00:00 2001 From: szaka Date: Wed, 6 Jun 2007 18:55:30 +0000 Subject: [PATCH] pass file system name to the fuse layer (Alistair Crooks) --- src/ntfs-3g.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ntfs-3g.c b/src/ntfs-3g.c index 9dc8d2ec..6b9fe1a9 100644 --- a/src/ntfs-3g.c +++ b/src/ntfs-3g.c @@ -2069,7 +2069,7 @@ static struct fuse_chan *try_fuse_mount(char *parsed_options) struct fuse_args margs = FUSE_ARGS_INIT(0, NULL); /* The fuse_mount() options get modified, so we always rebuild it */ - if ((fuse_opt_add_arg(&margs, "") == -1 || + if ((fuse_opt_add_arg(&margs, EXEC_NAME) == -1 || fuse_opt_add_arg(&margs, "-o") == -1 || fuse_opt_add_arg(&margs, parsed_options) == -1)) { ntfs_log_error("Failed to set FUSE options.\n");