Mesa (master): intel/tools: add missing new lines to few remaining fail_if users

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Nov 5 12:14:33 UTC 2020


Module: Mesa
Branch: master
Commit: 44925a8a5547ba63a755668dfa947052f525ac8d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=44925a8a5547ba63a755668dfa947052f525ac8d

Author: Marcin Ślusarz <marcin.slusarz at intel.com>
Date:   Wed Nov  4 19:15:51 2020 +0100

intel/tools: add missing new lines to few remaining fail_if users

Signed-off-by: Marcin Ślusarz <marcin.slusarz at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7449>

---

 src/intel/tools/intel_dump_gpu.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/intel/tools/intel_dump_gpu.c b/src/intel/tools/intel_dump_gpu.c
index a4b7d41b66f..281d5bf7ce5 100644
--- a/src/intel/tools/intel_dump_gpu.c
+++ b/src/intel/tools/intel_dump_gpu.c
@@ -446,15 +446,15 @@ maybe_init(int fd)
             verbose = 2;
          }
       } else if (!strcmp(key, "device")) {
-         fail_if(device != 0, "Device/Platform override specified multiple times.");
+         fail_if(device != 0, "Device/Platform override specified multiple times.\n");
          fail_if(sscanf(value, "%i", &device) != 1,
-                 "failed to parse device id '%s'",
+                 "failed to parse device id '%s'\n",
                  value);
          device_override = true;
       } else if (!strcmp(key, "platform")) {
-         fail_if(device != 0, "Device/Platform override specified multiple times.");
+         fail_if(device != 0, "Device/Platform override specified multiple times.\n");
          device = gen_device_name_to_pci_device_id(value);
-         fail_if(device == -1, "Unknown platform '%s'", value);
+         fail_if(device == -1, "Unknown platform '%s'\n", value);
          device_override = true;
       } else if (!strcmp(key, "file")) {
          output_filename = strdup(value);



More information about the mesa-commit mailing list