summaryrefslogtreecommitdiff
path: root/src/device/device_const.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/device_const.c')
-rw-r--r--src/device/device_const.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/device_const.c b/src/device/device_const.c
index fc76304994..9f3443e94c 100644
--- a/src/device/device_const.c
+++ b/src/device/device_const.c
@@ -118,7 +118,7 @@ static int path_eq(const struct device_path *path1,
equal = (path1->apic.apic_id == path2->apic.apic_id);
break;
case DEVICE_PATH_DOMAIN:
- equal = (path1->domain.domain == path2->domain.domain);
+ equal = (path1->domain.domain_id == path2->domain.domain_id);
break;
case DEVICE_PATH_CPU_CLUSTER:
equal = (path1->cpu_cluster.cluster