summaryrefslogtreecommitdiff
path: root/tools/intel_reg.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2017-09-11 18:13:55 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2017-09-15 15:20:20 +0300
commit7c7a0151b0225391d7e2a60dce8606972614697c (patch)
treec09de2cdba4a186cab7ef6b415b934744c476f33 /tools/intel_reg.c
parent509ec0cd71b286177bf5a650a160404de48f82aa (diff)
tools/intel_reg: s/PKGDATADIR/IGT_DATADIR/
We use IGT_DATADIR to refer to $pkgdatadir elsewhere, so let's have intel_reg follow suit. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tools/intel_reg.c')
-rw-r--r--tools/intel_reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/intel_reg.c b/tools/intel_reg.c
index b3823fd8..d6f81840 100644
--- a/tools/intel_reg.c
+++ b/tools/intel_reg.c
@@ -713,7 +713,7 @@ static int read_reg_spec(struct config *config)
path = getenv("INTEL_REG_SPEC");
if (!path)
- path = PKGDATADIR"/registers";
+ path = IGT_DATADIR"/registers";
r = stat(path, &st);
if (r) {