diff options
author | Miles Bader <miles@gnu.org> | 1997-08-12 21:22:03 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-08-12 21:22:03 +0000 |
commit | af93995a8b72cf9aecb8be36b0d4a3e0d03cf16e (patch) | |
tree | b4b47062555aa9ca0fd6c1f5f24ad0a769b7bde7 /ftpfs | |
parent | 44a29f744c3e453057586850ec44ed2769a5741c (diff) |
(main):
Supply the FSID argument to ftpfs_create.
Diffstat (limited to 'ftpfs')
-rw-r--r-- | ftpfs/ftpfs.c | 4 |
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); |