diff options
-rw-r--r-- | sql/winservice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/winservice.c b/sql/winservice.c index 17d678e4f1a..0c238d4d33d 100644 --- a/sql/winservice.c +++ b/sql/winservice.c @@ -105,7 +105,7 @@ int get_mysql_service_properties(const wchar_t *bin_path, goto end; } - wcstombs(props->mysqld_exe, args[0], MAX_PATH); + wcstombs(props->mysqld_exe, mysqld_path, MAX_PATH); wcstombs(props->inifile, args[1]+16, MAX_PATH); normalize_path(props->inifile, MAX_PATH); |