summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-02-06 08:39:20 +0000
committerMiles Bader <miles@gnu.org>1997-02-06 08:39:20 +0000
commitd6d78bda44ed822e8f7b996e66fc161e44645daa (patch)
tree89b0d8ec8df9b3094b7101d391456d61675f680a
parentbc19b991750e9b0f3cbd16c92e6297f7fb8a0e15 (diff)
(diskfs_S_file_exec):
Supply DEPTH argument to diskfs_make_peropen.
-rw-r--r--libdiskfs/file-exec.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libdiskfs/file-exec.c b/libdiskfs/file-exec.c
index 801a0ab4..57e9cbd0 100644
--- a/libdiskfs/file-exec.c
+++ b/libdiskfs/file-exec.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1993, 1994, 1995, 1996 Free Software Foundation
+ Copyright (C) 1993, 1994, 1995, 1996, 1997 Free Software Foundation
This file is part of the GNU Hurd.
@@ -113,7 +113,8 @@ diskfs_S_file_exec (struct protid *cred,
if (! err)
err = diskfs_create_protid (diskfs_make_peropen (np, O_READ,
- cred->po->dotdotport),
+ cred->po->dotdotport,
+ cred->po->depth),
cred->user, &newpi);
if (! err)