=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/main.c,v retrieving revision 1.219 retrieving revision 1.220 diff -c -r1.219 -r1.220 *** src/usr.bin/mandoc/main.c 2019/01/01 08:18:06 1.219 --- src/usr.bin/mandoc/main.c 2019/01/10 06:27:23 1.220 *************** *** 1,7 **** ! /* $OpenBSD: main.c,v 1.219 2019/01/01 08:18:06 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons ! * Copyright (c) 2010-2012, 2014-2018 Ingo Schwarze * Copyright (c) 2010 Joerg Sonnenberger * * Permission to use, copy, modify, and distribute this software for any --- 1,7 ---- ! /* $OpenBSD: main.c,v 1.220 2019/01/10 06:27:23 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons ! * Copyright (c) 2010-2012, 2014-2019 Ingo Schwarze * Copyright (c) 2010 Joerg Sonnenberger * * Permission to use, copy, modify, and distribute this software for any *************** *** 131,136 **** --- 131,137 ---- pid_t pager_pid, tc_pgid, man_pgid, pid; progname = getprogname(); + mandoc_msg_setoutfile(stderr); if (strncmp(progname, "mandocdb", 8) == 0 || strncmp(progname, "makewhatis", 10) == 0) return mandocdb(argc, argv);