<div dir="ltr">Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 5, 2016 at 8:55 AM, Lionel Landwerlin <span dir="ltr"><<a href="mailto:llandwerlin@gmail.com" target="_blank">llandwerlin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Signed-off-by: Lionel Landwerlin <<a href="mailto:lionel.g.landwerlin@intel.com">lionel.g.landwerlin@intel.com</a><wbr>><br>
---<br>
src/intel/tools/aubinator.c | 10 +++++-----<br>
1 file changed, 5 insertions(+), 5 deletions(-)<br>
<br>
diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c<br>
index 6fc0208..b74885a 100644<br>
--- a/src/intel/tools/aubinator.c<br>
+++ b/src/intel/tools/aubinator.c<br>
@@ -807,7 +807,7 @@ handle_trace_block(struct gen_spec *spec, uint32_t *p)<br>
if (address_space != AUB_TRACE_MEMTYPE_GTT)<br>
break;<br>
if (gtt_size < offset + size) {<br>
- fprintf(stderr, "overflow gtt space: %s", strerror(errno));<br>
+ fprintf(stderr, "overflow gtt space: %s\n", strerror(errno));<br>
exit(EXIT_FAILURE);<br>
}<br>
memcpy((char *) gtt + offset, data, size);<br>
@@ -849,19 +849,19 @@ aub_file_open(const char *filename)<br>
file->filename = strdup(filename);<br>
file->fd = open(file->filename, O_RDONLY);<br>
if (file->fd == -1) {<br>
- fprintf(stderr, "open %s failed: %s", file->filename, strerror(errno));<br>
+ fprintf(stderr, "open %s failed: %s\n", file->filename, strerror(errno));<br>
exit(EXIT_FAILURE);<br>
}<br>
<br>
if (fstat(file->fd, &file->sb) == -1) {<br>
- fprintf(stderr, "stat failed: %s", strerror(errno));<br>
+ fprintf(stderr, "stat failed: %s\n", strerror(errno));<br>
exit(EXIT_FAILURE);<br>
}<br>
<br>
file->map = mmap(NULL, file->sb.st_size,<br>
PROT_READ, MAP_SHARED, file->fd, 0);<br>
if (file->map == MAP_FAILED) {<br>
- fprintf(stderr, "mmap failed: %s", strerror(errno));<br>
+ fprintf(stderr, "mmap failed: %s\n", strerror(errno));<br>
exit(EXIT_FAILURE);<br>
}<br>
<br>
@@ -873,7 +873,7 @@ aub_file_open(const char *filename)<br>
gtt = mmap(NULL, gtt_size, PROT_READ | PROT_WRITE,<br>
MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, -1, 0);<br>
if (gtt == MAP_FAILED) {<br>
- fprintf(stderr, "failed to alloc gtt space: %s", strerror(errno));<br>
+ fprintf(stderr, "failed to alloc gtt space: %s\n", strerror(errno));<br>
exit(1);<br>
}<br>
<br>
--<br>
2.9.3<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</blockquote></div><br></div>