diff options
Diffstat (limited to 'loader/loader.c')
| -rw-r--r-- | loader/loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/loader.c b/loader/loader.c index 3db03e65..cbfd66e3 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -522,7 +522,7 @@ static void layer_lib_scan(void) #else // WIN32 if (geteuid() == getuid()) { /* Don't allow setuid apps to use the DRIVER_PATH_ENV env var: */ - libPaths = getenv(DRIVER_PATH_ENV); + libPaths = getenv(LAYERS_PATH_ENV); } if (libPaths == NULL) { libPaths = DEFAULT_XGL_LAYERS_PATH; |
