From 5da10cefe24943f5a4d92ed6ea2f5a6f116e1a87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20=C5=9Alusarz?= Date: Wed, 10 Feb 2021 15:06:59 +0100 Subject: [PATCH] intel/tools/aub: remove superfluous new line from error messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This function is used as a callback and the other instance of this callback doesn't add its own new line. Messages printed by this function already end with a new line. Signed-off-by: Marcin Ĺšlusarz Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/tools/aubinator_viewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/tools/aubinator_viewer.cpp b/src/intel/tools/aubinator_viewer.cpp index 6369b817a0c..1b7f5a99d14 100644 --- a/src/intel/tools/aubinator_viewer.cpp +++ b/src/intel/tools/aubinator_viewer.cpp @@ -135,7 +135,7 @@ handle_info(void *user_data, int pci_id, const char *app_name) static void handle_error(void *user_data, const void *aub_data, const char *msg) { - fprintf(stderr, "ERROR: %s\n", msg); + fprintf(stderr, "ERROR: %s", msg); } static struct aub_file *