From 97c61e98b4cb4115c5d1191edefdab125a9e16fd Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Wed, 7 Nov 2001 12:09:43 +0000 Subject: build with automake --- lib/mount.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/mount.c') diff --git a/lib/mount.c b/lib/mount.c index 98d9e59..d191a7d 100644 --- a/lib/mount.c +++ b/lib/mount.c @@ -10,6 +10,7 @@ #include #include +#include #include #include #include @@ -116,7 +117,7 @@ int fuse_mount(struct fuse *f, const char *dir) return -1; add_mntent(dev, dir, type); - f->mnt = g_strdup(dir); + f->mnt = strdup(dir); return 0; } @@ -137,7 +138,7 @@ int fuse_unmount(struct fuse *f) else remove_mntent(f->mnt); - g_free(f->mnt); + free(f->mnt); f->mnt = NULL; return res; -- cgit v1.2.3