From: schwarze Date: Wed, 15 Aug 2018 15:36:11 +0000 (+0000) Subject: fix incomplete variable renaming in previous; X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3ae439c0ae60d5d4a999ae085c5066dee3550aa7;p=openbsd fix incomplete variable renaming in previous; found by Thomas Klausner via a compiler warning --- diff --git a/usr.bin/mandoc/man_macro.c b/usr.bin/mandoc/man_macro.c index 737f393b01b..59e22c4b597 100644 --- a/usr.bin/mandoc/man_macro.c +++ b/usr.bin/mandoc/man_macro.c @@ -1,4 +1,4 @@ -/* $OpenBSD: man_macro.c,v 1.86 2018/08/14 01:26:12 schwarze Exp $ */ +/* $OpenBSD: man_macro.c,v 1.87 2018/08/15 15:36:11 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2012-2015, 2017, 2018 Ingo Schwarze @@ -254,7 +254,7 @@ blk_close(MACRO_PROT_ARGS) if (ctok == MAN_LP || ctok == MAN_PP || ctok == MAN_P) { *pos = strlen(buf); - blk_imp(man, ctok, line, ppos, pos, buf); + blk_imp(man, ctok, cline, cpos, pos, buf); } }