From 5e183482b09cec20f54ccb44e767a7fab51833e9 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Wed, 31 Oct 2001 14:52:35 +0000 Subject: x --- lib/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/mount.c') diff --git a/lib/mount.c b/lib/mount.c index ace3c65..48d9d45 100644 --- a/lib/mount.c +++ b/lib/mount.c @@ -103,7 +103,6 @@ int fuse_mount(struct fuse *f, const char *dir) if(f->dir != NULL) return 0; - f->dir = g_strdup(dir); f->fd = open(dev, O_RDWR); if(f->fd == -1) { perror(dev); @@ -115,6 +114,7 @@ int fuse_mount(struct fuse *f, const char *dir) return -1; add_mntent(dev, dir, type); + f->dir = g_strdup(dir); return 0; } -- cgit v1.2.3