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

Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7449>
This commit is contained in:
Marcin Ślusarz 2020-11-04 19:15:51 +01:00 committed by Marge Bot
parent c323d7c2a7
commit 44925a8a55
1 changed files with 4 additions and 4 deletions

View File

@ -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);