Signed-off-by: Stanislav Fomichev <stfomic...@yandex-team.ru> --- src/parse.y | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/src/parse.y b/src/parse.y index 9adbc0ef0270..467fd953caf3 100644 --- a/src/parse.y +++ b/src/parse.y @@ -438,6 +438,8 @@ mountvalue_conf { if (!cgroup_config_insert_into_mount_table($1, $3)) { cgroup_config_cleanup_mount_table(); + fprintf(stderr, "parsing failed at line number %d\n", + line_no); $$ = ECGCONFIGPARSEFAIL; return $$; } @@ -447,6 +449,8 @@ mountvalue_conf { if (!cgroup_config_insert_into_mount_table($2, $4)) { cgroup_config_cleanup_mount_table(); + fprintf(stderr, "parsing failed at line number %d\n", + line_no); $$ = ECGCONFIGPARSEFAIL; return $$; } @@ -471,6 +475,8 @@ namespace_conf { if (!cgroup_config_insert_into_namespace_table($1, $3)) { cgroup_config_cleanup_namespace_table(); + fprintf(stderr, "parsing failed at line number %d\n", + line_no); $$ = ECGCONFIGPARSEFAIL; return $$; } @@ -480,6 +486,8 @@ namespace_conf { if (!cgroup_config_insert_into_namespace_table($2, $4)) { cgroup_config_cleanup_namespace_table(); + fprintf(stderr, "parsing failed at line number %d\n", + line_no); $$ = ECGCONFIGPARSEFAIL; return $$; } -- 1.8.1.2 ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel