diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2001-11-07 12:09:43 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2001-11-07 12:09:43 +0000 |
commit | 97c61e98b4cb4115c5d1191edefdab125a9e16fd (patch) | |
tree | b67b00056e2bf76ef5019b81817b3e1817e99427 /lib/mount.c | |
parent | 2df1c04f30802df9a23a19e22042884430c429d2 (diff) | |
download | libfuse-97c61e98b4cb4115c5d1191edefdab125a9e16fd.tar.gz |
build with automake
Diffstat (limited to 'lib/mount.c')
-rw-r--r-- | lib/mount.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 <linux/fuse.h> #include <stdio.h> +#include <stdlib.h> #include <unistd.h> #include <string.h> #include <fcntl.h> @@ -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; |