diff options
| author | Alejandro Colomar <alx@kernel.org> | 2023-05-03 00:48:14 +0200 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2023-05-03 00:48:22 +0200 |
| commit | fe5dba139dc089eae4061fdc17f087e71f48b198 (patch) | |
| tree | 54af56b1b0138bde9a21e99372ab68ce4d64564a /man3/fmtmsg.3 | |
| parent | 5a0d9ed151e6449d978fabdd654cacc17b20a235 (diff) | |
| download | man-pages-fe5dba139dc089eae4061fdc17f087e71f48b198.tar.gz | |
man*/, man.ignore.grep: srcfix; warn about blank lines
- Use the dummy character to avoid warnings in examples.
- Re-enable the warning.
Suggested-by: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man3/fmtmsg.3')
| -rw-r--r-- | man3/fmtmsg.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/fmtmsg.3 b/man3/fmtmsg.3 index 97f74c569c..b2da3085cf 100644 --- a/man3/fmtmsg.3 +++ b/man3/fmtmsg.3 @@ -278,13 +278,13 @@ vpfmt(), lfmt(), and vlfmt()", and will be removed later. #include <fmtmsg.h> #include <stdio.h> #include <stdlib.h> - +\& int main(void) { long class = MM_PRINT | MM_SOFT | MM_OPSYS | MM_RECOVER; int err; - +\& err = fmtmsg(class, "util\-linux:mount", MM_ERROR, "unknown mount option", "See mount(8).", "util\-linux:mount:017"); |
