From: Ralph Corderoy Date: Mon, 30 Oct 2017 19:52:11 +0000 (+0000) Subject: mhbuild.man: Avoid using format-free printf(3) in example. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/7a5b7cbf34581a0294713ef5bb92ec5566b6be9f mhbuild.man: Avoid using format-free printf(3) in example. It pops up in searches for printf()s that could be fputs(), and as printf() it doesn't output the trailing `\n' to end the line. Replace with puts(). Lowercase Kernighan's message, as he wrote it. --- diff --git a/man/mhbuild.man b/man/mhbuild.man index 5fdf7c27..8e872091 100644 --- a/man/mhbuild.man +++ b/man/mhbuild.man @@ -346,7 +346,7 @@ directives, without causing errors: .nf #off #include -printf("Hello, World!"); +puts("hello, world!"); #pop .fi .RE