summaryrefslogtreecommitdiff
path: root/pflocal
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-07-18 18:42:01 +0000
committerMiles Bader <miles@gnu.org>1995-07-18 18:42:01 +0000
commit7ef05eabf9ec5312e6fc34c7b238fa3f8fd01cbb (patch)
tree77fa765e13fcc3f42f5aeaebce18ca29538ac644 /pflocal
parent311f82235641b85a35de3e05dcced843b8b7e6fc (diff)
Formerly pflocal.c.~6~
Diffstat (limited to 'pflocal')
-rw-r--r--pflocal/pflocal.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/pflocal/pflocal.c b/pflocal/pflocal.c
index fd840622..21f77fa9 100644
--- a/pflocal/pflocal.c
+++ b/pflocal/pflocal.c
@@ -21,11 +21,13 @@
#include <stdio.h>
#include <getopt.h>
#include <error.h>
+#include <sys/stat.h>
#include <hurd/hurd_types.h>
#include <hurd/trivfs.h>
#include "pflocal.h"
+#include "sock.h"
/* Where our ports are... */
struct port_bucket *pflocal_port_bucket;
@@ -117,6 +119,12 @@ void main(int argc, char *argv[])
exit(0);
}
+void
+trivfs_modify_stat (struct stat *st)
+{
+ st->st_fstype = FSTYPE_MISC;
+}
+
error_t
trivfs_goaway (int flags, mach_port_t realnode,
struct port_class *fsys_port_class,