diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2004-11-23 22:32:16 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2004-11-23 22:32:16 +0000 |
commit | a25d4c2e7ea3741c5cf44d17d955c9bae91ca128 (patch) | |
tree | d269cd16628e5ceddf1f9c3693223d40e4fdace2 /lib/mount.c | |
parent | 72cf5c9d9eced708d212db49a9ae9f261b8cfcd9 (diff) | |
download | libfuse-a25d4c2e7ea3741c5cf44d17d955c9bae91ca128.tar.gz |
various fixes
Diffstat (limited to 'lib/mount.c')
-rw-r--r-- | lib/mount.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mount.c b/lib/mount.c index 05dcb59..a84dbee 100644 --- a/lib/mount.c +++ b/lib/mount.c @@ -91,7 +91,11 @@ int fuse_mount(const char *mountpoint, const char *opts) return -1; } +#ifndef USE_UCLIBC pid = fork(); +#else + pid = vfork(); +#endif if(pid == -1) { perror("fuse: fork() failed"); close(fds[0]); |