summaryrefslogtreecommitdiff
path: root/ftpfs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-08-12 21:22:03 +0000
committerMiles Bader <miles@gnu.org>1997-08-12 21:22:03 +0000
commitaf93995a8b72cf9aecb8be36b0d4a3e0d03cf16e (patch)
treeb4b47062555aa9ca0fd6c1f5f24ad0a769b7bde7 /ftpfs
parent44a29f744c3e453057586850ec44ed2769a5741c (diff)
(main):
Supply the FSID argument to ftpfs_create.
Diffstat (limited to 'ftpfs')
-rw-r--r--ftpfs/ftpfs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ftpfs/ftpfs.c b/ftpfs/ftpfs.c
index 886a52b4..6d4e4798 100644
--- a/ftpfs/ftpfs.c
+++ b/ftpfs/ftpfs.c
@@ -19,6 +19,7 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */
#include <string.h>
+#include <unistd.h>
#include <argp.h>
#include <error.h>
#include <argz.h>
@@ -304,7 +305,8 @@ main (int argc, char **argv)
if (err)
error (3, err, "mapping time");
- err = ftpfs_create (ftpfs_remote_root, ftpfs_ftp_params, &ftpfs_ftp_hooks,
+ err = ftpfs_create (ftpfs_remote_root, getpid (),
+ ftpfs_ftp_params, &ftpfs_ftp_hooks,
&ftpfs_params, &ftpfs);
if (err)
error (4, err, "%s", ftpfs_remote_fs);