aboutsummaryrefslogtreecommitdiff
path: root/strippath.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 /strippath.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 'strippath.c')
-rw-r--r--strippath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strippath.c b/strippath.c
index 8af95fe..e192aff 100644
--- a/strippath.c
+++ b/strippath.c
@@ -49,7 +49,7 @@ static void strippath_symbol(t_strippath *x, t_symbol *s)
}
else {
strcpy (filename,s->s_name);
- sprintf (path,x->x_path->s_name);
+ strcpy (path,x->x_path->s_name);
}
outlet_symbol(x->x_obj.ob_outlet,gensym(filename));
// post ("path:%s , name:%s",path,filename);