diff --git a/tools/nxstyle.c b/tools/nxstyle.c index a5884c72c45fc..31e1ed96ac35a 100644 --- a/tools/nxstyle.c +++ b/tools/nxstyle.c @@ -3093,7 +3093,16 @@ int main(int argc, char **argv, char **envp) if (m > g_maxline && !rhcomment) { - ERROR("Long line found", lineno, m); + /* Ignore the line 2 (file path) */ + + if (lineno == 2) + { + INFO("Skipping checking line 2: path file\n", 2, m); + } + else + { + ERROR("Long line found", lineno, m); + } } }