summaryrefslogtreecommitdiff
path: root/lib/igt_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/igt_core.c')
-rw-r--r--lib/igt_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_core.c b/lib/igt_core.c
index ed631f16..2fe74f5a 100644
--- a/lib/igt_core.c
+++ b/lib/igt_core.c
@@ -1111,7 +1111,7 @@ bool igt_run_in_simulation(void)
static int simulation = -1;
if (simulation == -1)
- simulation = igt_env_set("INTEL_SIMULATION", false);
+ simulation = igt_check_boolean_env_var("INTEL_SIMULATION", false);
return simulation;
}