summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/intel/tools/aubinator_viewer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/tools/aubinator_viewer.cpp b/src/intel/tools/aubinator_viewer.cpp
index 3eed5140ef2..d3ed1948c9e 100644
--- a/src/intel/tools/aubinator_viewer.cpp
+++ b/src/intel/tools/aubinator_viewer.cpp
@@ -126,7 +126,7 @@ handle_info(void *user_data, int pci_id, const char *app_name)
file->pci_id = pci_id;
snprintf(file->app_name, sizeof(app_name), "%s", app_name);
- if (!gen_get_device_info(file->pci_id, &file->devinfo)) {
+ if (!gen_get_device_info_from_pci_id(file->pci_id, &file->devinfo)) {
fprintf(stderr, "can't find device information: pci_id=0x%x\n", file->pci_id);
exit(EXIT_FAILURE);
}