summaryrefslogtreecommitdiff
path: root/databases/msql3/files/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'databases/msql3/files/patch-ag')
-rw-r--r--databases/msql3/files/patch-ag4
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/msql3/files/patch-ag b/databases/msql3/files/patch-ag
index fbf7d0b77f91..f89720db93ca 100644
--- a/databases/msql3/files/patch-ag
+++ b/databases/msql3/files/patch-ag
@@ -4,8 +4,8 @@
}
else
{
-- sprintf(buf,"%s/msql.conf", INST_DIR);
-+ sprintf(buf,"%s/etc/msql2/msql.conf", INST_DIR);
+- snprintf(buf,sizeof(buf),"%s/msql.conf", INST_DIR);
++ snprintf(buf,sizeof(buf),"%s/etc/msql2/msql.conf", INST_DIR);
fp = fopen(buf,"r");
}
if (!fp)