summaryrefslogtreecommitdiffstats
path: root/terminal.c
diff options
context:
space:
mode:
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/terminal.c b/terminal.c
index f7bfd301..0dd3bad3 100644
--- a/terminal.c
+++ b/terminal.c
@@ -76,10 +76,14 @@ ascii_alloc(void)
int
-terminal_run(void *arg, const struct mdoc *mdoc)
+terminal_run(void *arg, const struct man *man,
+ const struct mdoc *mdoc)
{
struct termp *p;
+ if (NULL == mdoc)
+ return(1);
+
p = (struct termp *)arg;
if (NULL == p->symtab)