mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-21 18:40:42 +01:00
intel: aubinator: fix printing missing gen option
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
This commit is contained in:
parent
46d67799a6
commit
1b88760f85
1 changed files with 2 additions and 2 deletions
|
|
@ -1125,7 +1125,7 @@ int main(int argc, char *argv[])
|
|||
int c, i;
|
||||
bool help = false, pager = true;
|
||||
char *input_file = NULL, *xml_path = NULL;
|
||||
char gen_val[24];
|
||||
char gen_val[24] = { 0, };
|
||||
const struct {
|
||||
const char *name;
|
||||
int pci_id;
|
||||
|
|
@ -1193,7 +1193,7 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
|
||||
if (gen == NULL) {
|
||||
fprintf(stderr, "can't parse gen: %s, expected ivb, byt, hsw, "
|
||||
fprintf(stderr, "can't parse gen: '%s', expected ivb, byt, hsw, "
|
||||
"bdw, chv, skl, kbl or bxt\n", gen_val);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue