summaryrefslogtreecommitdiff
path: root/sys/dev/microcode/ral/microcode.h
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2021-10-24 17:19:48 +0000
committerrillig <rillig@NetBSD.org>2021-10-24 17:19:48 +0000
commit526492b493d0e55253c1ec558ebb0849a8eae69f (patch)
tree5be0aaf3d11f256cdee7eb3c6bb5bc3fbf7cac84 /sys/dev/microcode/ral/microcode.h
parente00d263b056f400de9c2154699e5891352e8efef (diff)
indent: clean up format of warnings and errors
Previously, warnings and errors had the form of C block comments. Before NetBSD io.c 1.20 from 2019-10-19, this format made sense because the diagnostics could end up in the same output stream as the formatted output. Since NetBSD io.c 1.20 from 2019-10-19, all diagnostics are redirected to stderr. This change was not mentioned in the commit message back then, it makes sense nevertheless. Since stdout and stderr now are properly separated, there is no need anymore to keep the weird format for warnings and errors. Switch to the standard 'error: file:line' format. Move the function 'diag' to indent.c to have access to the name of the current input file.
Diffstat (limited to 'sys/dev/microcode/ral/microcode.h')
0 files changed, 0 insertions, 0 deletions