summaryrefslogtreecommitdiff
path: root/server-tools
diff options
context:
space:
mode:
Diffstat (limited to 'server-tools')
-rw-r--r--server-tools/instance-manager/commands.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/server-tools/instance-manager/commands.cc b/server-tools/instance-manager/commands.cc
index fd346148df2..347f435bbc1 100644
--- a/server-tools/instance-manager/commands.cc
+++ b/server-tools/instance-manager/commands.cc
@@ -689,8 +689,8 @@ int Set_option::correct_file(int skip)
{
int error;
- error= my_correct_defaults_file("/etc/my.cnf", option,
- option_value, instance_name, skip);
+ error= modify_defaults_file("/etc/my.cnf", option,
+ option_value, instance_name, skip);
if (error > 0)
return ER_OUT_OF_RESOURCES;
else if (error < 0)