summaryrefslogtreecommitdiff
path: root/dialects/freebsd/dstore.c
diff options
context:
space:
mode:
Diffstat (limited to 'dialects/freebsd/dstore.c')
-rw-r--r--dialects/freebsd/dstore.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/dialects/freebsd/dstore.c b/dialects/freebsd/dstore.c
index 99239bd..0de224a 100644
--- a/dialects/freebsd/dstore.c
+++ b/dialects/freebsd/dstore.c
@@ -32,7 +32,7 @@
#ifndef lint
static char copyright[] =
"@(#) Copyright 1994 Purdue Research Foundation.\nAll rights reserved.\n";
-static char *rcsid = "$Id: dstore.c,v 1.8 2008/04/15 13:31:47 abe Exp $";
+static char *rcsid = "$Id: dstore.c,v 1.9 2018/02/14 14:26:03 abe Exp $";
#endif
@@ -48,6 +48,8 @@ struct file *Cfp; /* curent file's file struct pointer */
struct drive_Nl Drive_Nl[] = {
+ { X_BADFILEOPS, "badfileops" },
+
#if FREEBSDV<2005
{ X_NCACHE, "_nchhead" },
#else /* FREEBSDV>=2005 */
@@ -129,3 +131,10 @@ struct pff_tab Pof_tab[] = {
{ (long)0, NULL }
};
#endif /* defined(HASFSTRUCT) */
+
+
+/*
+ * Kernel's bad file operations address
+ */
+
+KA_T X_bfopsa; /* badfileops kernel address */