aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/driver/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/driver/main.cc b/src/driver/main.cc
index e5943aa5..b08027a7 100644
--- a/src/driver/main.cc
+++ b/src/driver/main.cc
@@ -137,7 +137,7 @@ main(int argc, char* argv[])
case translator_driver:
case linker_driver:
case gui_driver:
- putenv("LC_ALL=C");
+ oa_setenv("LC_ALL", "C");
setlocale(LC_ALL, "");
return execute_core(&command, driver);
@@ -156,7 +156,7 @@ main(int argc, char* argv[])
/* Should not happen on MS platforms. */
abort();
#else /* __WIN32__ */
- execv(make_path_for(command.root_dir, sman_driver), argv);
+ execv(make_path_for(command.root_dir, driver), argv);
perror(strerror(errno));
return -1;
#endif /* __WIN32__ */