diff mbox

[libmpx,committed] Fix verbosity for error messages

Message ID 20160120144542.GC15775@msticlxl57.ims.intel.com
State New
Headers show

Commit Message

Ilya Enkovich Jan. 25, 2016, 10:03 a.m. UTC
Hi,

This is an obvious patch fixing a verbosity for a part of error messages.  Bootstrapped on x86_64-pc-linux-gnu.  Applied to trunk and gcc-5-branch.

Thanks,
Ilya
--
libmpx/

2016-01-20  Ilya Enkovich  <enkovich.gnu@gmail.com>

	* mpxrt/mpxrt.c (handler): Fix verbosity for
	error message.
diff mbox

Patch

diff --git a/libmpx/mpxrt/mpxrt.c b/libmpx/mpxrt/mpxrt.c
index bcdd3a6..b52906b 100644
--- a/libmpx/mpxrt/mpxrt.c
+++ b/libmpx/mpxrt/mpxrt.c
@@ -268,7 +268,7 @@  handler (int sig __attribute__ ((unused)),
       __mpxrt_write_uint (VERB_ERROR, trapno, 10);
       __mpxrt_write (VERB_ERROR, ", ip = 0x");
       __mpxrt_write_uint (VERB_ERROR, ip, 16);
-      __mpxrt_write (VERB_BR, "\n");
+      __mpxrt_write (VERB_ERROR, "\n");
       exit (255);
     }
   else
@@ -277,7 +277,7 @@  handler (int sig __attribute__ ((unused)),
       __mpxrt_write_uint (VERB_ERROR, trapno, 10);
       __mpxrt_write (VERB_ERROR, "! at 0x");
       __mpxrt_write_uint (VERB_ERROR, ip, 16);
-      __mpxrt_write (VERB_BR, "\n");
+      __mpxrt_write (VERB_ERROR, "\n");
       exit (255);
     }
 }