aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/manpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'manpath.c')
-rw-r--r--manpath.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/manpath.c b/manpath.c
index 1446787a..703d6328 100644
--- a/manpath.c
+++ b/manpath.c
@@ -1,4 +1,4 @@
-/* $Id: manpath.c,v 1.38 2019/05/03 18:23:53 schwarze Exp $ */
+/* $Id: manpath.c,v 1.39 2019/05/03 18:39:34 schwarze Exp $ */
/*
* Copyright (c) 2011,2014,2015,2017,2018 Ingo Schwarze <schwarze@openbsd.org>
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -332,8 +332,7 @@ manconf_output(struct manoutput *conf, const char *cp, int fromfile)
conf->toc = 1;
return 0;
default:
- if (fromfile)
- warnx("-O %s: Bad argument", cp);
+ warnx("-O %s: Bad argument", cp);
return -1;
}
if (fromfile == 0)