diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-12-15 00:18:42 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-12-15 00:18:42 +0000 |
commit | e7cac91485fd4cdf7674a7411a052bfeb0355be2 (patch) | |
tree | 0e5c836d3a1c867bad0e44316c40ae355427d93c /libnetfs/make-peropen.c | |
parent | a5cd1171ada44755aad350e435466739d4f2be95 (diff) | |
download | hurd-e7cac91485fd4cdf7674a7411a052bfeb0355be2.tar.gz hurd-e7cac91485fd4cdf7674a7411a052bfeb0355be2.tar.bz2 hurd-e7cac91485fd4cdf7674a7411a052bfeb0355be2.zip |
entered into RCS
Diffstat (limited to 'libnetfs/make-peropen.c')
-rw-r--r-- | libnetfs/make-peropen.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libnetfs/make-peropen.c b/libnetfs/make-peropen.c index 9f7e1195..961a77d1 100644 --- a/libnetfs/make-peropen.c +++ b/libnetfs/make-peropen.c @@ -18,6 +18,9 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ +#include "netfs.h" +#include <sys/file.h> + struct peropen * netfs_make_peropen (struct node *np, int flags, mach_port_t dotdotport) { @@ -32,7 +35,7 @@ netfs_make_peropen (struct node *np, int flags, mach_port_t dotdotport) if (dotdotport != MACH_PORT_NULL) mach_port_mod_refs (mach_task_self (), dotdotport, MACH_PORT_RIGHT_SEND, 1); - diskfs_nref (np); + netfs_nref (np); return po; } |