=================================================================== RCS file: /cvs/mandoc/cgi.c,v retrieving revision 1.63 retrieving revision 1.64 diff -u -p -r1.63 -r1.64 --- mandoc/cgi.c 2014/07/11 22:27:35 1.63 +++ mandoc/cgi.c 2014/07/12 01:55:30 1.64 @@ -1,4 +1,4 @@ -/* $Id: cgi.c,v 1.63 2014/07/11 22:27:35 schwarze Exp $ */ +/* $Id: cgi.c,v 1.64 2014/07/12 01:55:30 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons * Copyright (c) 2014 Ingo Schwarze @@ -415,13 +415,14 @@ resp_index(const struct req *req) "mandoc\n" ""); resp_searchform(req); - puts("

\n" - "This web interface is documented in the " - "" - "man.cgi manual, and the " - "" - "apropos manual explains the query syntax.\n" - "

"); + printf("

\n" + "This web interface is documented in the " + "" + "man.cgi manual, and the " + "" + "apropos manual explains the query syntax.\n" + "

\n", + scriptname, scriptname); resp_end_html(); }