summaryrefslogtreecommitdiffstats
path: root/src/intel/tools
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2016-10-04 16:28:43 +0100
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>2016-10-06 10:39:53 +0100
commitb84234fd28ceb7c8527a50759df7aa9da8005ecb (patch)
tree8befa61d288cc6963065a77a5b414992ed7a724d /src/intel/tools
parentf7659e02c320fa9aac82e094e01786d2a5eb91e3 (diff)
downloadexternal_mesa3d-b84234fd28ceb7c8527a50759df7aa9da8005ecb.zip
external_mesa3d-b84234fd28ceb7c8527a50759df7aa9da8005ecb.tar.gz
external_mesa3d-b84234fd28ceb7c8527a50759df7aa9da8005ecb.tar.bz2
intel: aubinator: add missing return characters
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/intel/tools')
-rw-r--r--src/intel/tools/aubinator.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c
index 6fc0208..b74885a 100644
--- a/src/intel/tools/aubinator.c
+++ b/src/intel/tools/aubinator.c
@@ -807,7 +807,7 @@ handle_trace_block(struct gen_spec *spec, uint32_t *p)
if (address_space != AUB_TRACE_MEMTYPE_GTT)
break;
if (gtt_size < offset + size) {
- fprintf(stderr, "overflow gtt space: %s", strerror(errno));
+ fprintf(stderr, "overflow gtt space: %s\n", strerror(errno));
exit(EXIT_FAILURE);
}
memcpy((char *) gtt + offset, data, size);
@@ -849,19 +849,19 @@ aub_file_open(const char *filename)
file->filename = strdup(filename);
file->fd = open(file->filename, O_RDONLY);
if (file->fd == -1) {
- fprintf(stderr, "open %s failed: %s", file->filename, strerror(errno));
+ fprintf(stderr, "open %s failed: %s\n", file->filename, strerror(errno));
exit(EXIT_FAILURE);
}
if (fstat(file->fd, &file->sb) == -1) {
- fprintf(stderr, "stat failed: %s", strerror(errno));
+ fprintf(stderr, "stat failed: %s\n", strerror(errno));
exit(EXIT_FAILURE);
}
file->map = mmap(NULL, file->sb.st_size,
PROT_READ, MAP_SHARED, file->fd, 0);
if (file->map == MAP_FAILED) {
- fprintf(stderr, "mmap failed: %s", strerror(errno));
+ fprintf(stderr, "mmap failed: %s\n", strerror(errno));
exit(EXIT_FAILURE);
}
@@ -873,7 +873,7 @@ aub_file_open(const char *filename)
gtt = mmap(NULL, gtt_size, PROT_READ | PROT_WRITE,
MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, -1, 0);
if (gtt == MAP_FAILED) {
- fprintf(stderr, "failed to alloc gtt space: %s", strerror(errno));
+ fprintf(stderr, "failed to alloc gtt space: %s\n", strerror(errno));
exit(1);
}