diff options
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index e2dcb0962..881bc12ab 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -16292,7 +16292,7 @@ int ash_main(int argc UNUSED_PARAM, char **argv) | |||
16292 | 16292 | ||
16293 | state = 1; | 16293 | state = 1; |
16294 | #if ENABLE_PLATFORM_MINGW32 | 16294 | #if ENABLE_PLATFORM_MINGW32 |
16295 | hp = xasprintf("%s/etc/profile", get_system_drive() ?: ""); | 16295 | hp = concat_path_file(get_system_drive(), "/etc/profile"); |
16296 | read_profile(hp); | 16296 | read_profile(hp); |
16297 | free((void *)hp); | 16297 | free((void *)hp); |
16298 | #else | 16298 | #else |