summaryrefslogtreecommitdiffstats
path: root/src/intel/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/tools')
-rw-r--r--src/intel/tools/aubinator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c
index 67f1f0db153..4fee53c35d1 100644
--- a/src/intel/tools/aubinator.c
+++ b/src/intel/tools/aubinator.c
@@ -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);
}