diff options
Diffstat (limited to 'win32/mingw.c')
-rw-r--r-- | win32/mingw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/mingw.c b/win32/mingw.c index 5601d8428..6954ee9b5 100644 --- a/win32/mingw.c +++ b/win32/mingw.c | |||
@@ -1956,7 +1956,7 @@ const char *get_system_drive(void) | |||
1956 | } | 1956 | } |
1957 | } | 1957 | } |
1958 | 1958 | ||
1959 | return getenv("BB_SYSTEMROOT") ?: drive; | 1959 | return getenv(BB_SYSTEMROOT) ?: drive; |
1960 | } | 1960 | } |
1961 | 1961 | ||
1962 | /* Return pointer to system drive if path is of form '/file', else NULL */ | 1962 | /* Return pointer to system drive if path is of form '/file', else NULL */ |