This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[libmpx, committed] Fix verbosity for error messages
- From: Ilya Enkovich <enkovich dot gnu at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 25 Jan 2016 13:03:16 +0300
- Subject: [libmpx, committed] Fix verbosity for error messages
- Authentication-results: sourceware.org; auth=none
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 --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);
}
}