From aaedc99612f504c8021d93aaef728c1cb018eeb9 Mon Sep 17 00:00:00 2001 From: Abdelatif Guettouche Date: Thu, 1 Apr 2021 08:38:17 +0200 Subject: [PATCH] nxstyle: Fix typos in reported errors. Signed-off-by: Abdelatif Guettouche --- tools/nxstyle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/nxstyle.c b/tools/nxstyle.c index a716ea19352..5f24061c259 100644 --- a/tools/nxstyle.c +++ b/tools/nxstyle.c @@ -2806,7 +2806,7 @@ int main(int argc, char **argv, char **envp) if (!bfunctions && (indent & 1) != 0) { - ERROR("right left brace alignment", lineno, indent); + ERROR("Bad left brace alignment", lineno, indent); } else if ((indent & 3) != 0 && !bswitch && prevdnest == 0) { @@ -2853,7 +2853,7 @@ int main(int argc, char **argv, char **envp) if (!bfunctions && g_file_type == C_SOURCE) { ERROR("\"Private/Public Functions\" not found!" - " File was not be checked", lineno, 1); + " File will not be checked", lineno, 1); } if (ncomment > 0 || bstring)