diff options
| -rw-r--r-- | sys/netgraph/ng_tty.c | 3 |
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) { |
