aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>1999-10-23 04:52:54 +0000
committerJulian Elischer <julian@FreeBSD.org>1999-10-23 04:52:54 +0000
commit37d636b2d4af4367e41e0116233682ab73b89c25 (patch)
treea8b4262317f30cfd2bb527f5eed067359d38d165 /sys/netgraph
parentb58a8a3b1d5cdaf3b9f89a6ee064a59b1bb84326 (diff)
Notes
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/ng_tty.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netgraph/ng_tty.c b/sys/netgraph/ng_tty.c
index 568aae73200f..f86b40305f16 100644
--- a/sys/netgraph/ng_tty.c
+++ b/sys/netgraph/ng_tty.c
@@ -179,6 +179,7 @@ NETGRAPH_INIT(tty, &typestruct);
static int ngt_unit;
static int ngt_nodeop_ok; /* OK to create/remove node */
+static int ngt_ldisc;
/******************************************************************
LINE DISCIPLINE METHODS
@@ -655,7 +656,7 @@ done:
static int
ngt_mod_event(module_t mod, int event, void *data)
{
- struct ng_type *const type = data;
+ /* struct ng_type *const type = data;*/
int s, error = 0;
switch (event) {