summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-04-05 00:30:10 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-04-05 00:30:10 +0000
commit439dd44986de2e445365c27fa03a49534c344816 (patch)
tree8097e8e48fb76c9d735e899c65e711c87770c4e0
parent7da428fcd5865e6ce6c45ac8b168d7021008b0d3 (diff)
Fix nets.
-rw-r--r--libdiskfs/dir-unlink.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdiskfs/dir-unlink.c b/libdiskfs/dir-unlink.c
index ae5a4310..1715e0b9 100644
--- a/libdiskfs/dir-unlink.c
+++ b/libdiskfs/dir-unlink.c
@@ -17,6 +17,7 @@
#include "priv.h"
#include "fs_S.h"
+#include <hurd/fsys.h>
/* Implement dir_unlink as described in <hurd/fs.defs>. */
kern_return_t
@@ -65,6 +66,8 @@ diskfs_S_dir_unlink (struct protid *dircred,
mutex_lock (&np->translator.lock);
if (np->translator.control != MACH_PORT_NULL)
{
+ mach_port_t control;
+
/* There is a running active translator here. Give it a push.
If it squeaks, then return an error. If it consents, then
clear the active translator spec (unless it's been changed