summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/dir-mkfile.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libdiskfs/dir-mkfile.c b/libdiskfs/dir-mkfile.c
index a95f9b34..84964812 100644
--- a/libdiskfs/dir-mkfile.c
+++ b/libdiskfs/dir-mkfile.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1994, 1995, 1996 Free Software Foundation
+ Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation
This file is part of the GNU Hurd.
@@ -69,7 +69,8 @@ diskfs_S_dir_mkfile (struct protid *cred,
flags &= (O_READ | O_WRITE | O_EXEC);
err = diskfs_create_protid (diskfs_make_peropen (np, flags,
- cred->po->dotdotport),
+ cred->po->dotdotport,
+ cred->po->depth),
cred->user, &newpi);
if (! err)
{