aboutsummaryrefslogtreecommitdiff
path: root/openpatch.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-10-04 18:43:37 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-10-04 18:43:37 +0000
commit947d95da8269ba60c858e42bf72418092cdc0c8c (patch)
tree488620214f9b2b6feba42c95f840aceb8b4ee408 /openpatch.c
parent47beba426a9280fc443ccf68a0debbd4a8b95c2a (diff)
fix: 'format not a string literal and no format arguments [-Werror=format-security]'
svn path=/trunk/externals/ext13/; revision=16330
Diffstat (limited to 'openpatch.c')
-rw-r--r--openpatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpatch.c b/openpatch.c
index 86b7b7d..ee72236 100644
--- a/openpatch.c
+++ b/openpatch.c
@@ -56,7 +56,7 @@ static void openpatch_symbol(t_openpatch *x, t_symbol *s)
}
else {
strcpy (filename,s->s_name);
- sprintf (path,x->x_path->s_name);
+ strcpy (path,x->x_path->s_name);
}
post ("path:%s , name:%s",path,filename);
glob_evalfile(0,gensym(filename),gensym(path));