summaryrefslogtreecommitdiff
path: root/openpatch.c
diff options
context:
space:
mode:
authorDebian Multimedia Maintainers <debian-multimedia@lists.debian.org>2024-03-18 18:06:49 +0100
committerIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>2024-03-18 18:06:49 +0100
commitd323ed205066f0223201e4cf07ea6839699b19af (patch)
treebb14c78e3d7e884210d82b4d9055b593c0ff1c86 /openpatch.c
parent4cabfd808a5fc1c43b3be6597fda54da6791974d (diff)
fixed format-security errors
Forwarded: no Last-Update: 2017-01-15 Last-Update: 2017-01-15 Gbp-Pq: Name format-security.patch
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 0c8ff87..d152869 100644
--- a/openpatch.c
+++ b/openpatch.c
@@ -60,7 +60,7 @@ static void openpatch_symbol(t_openpatch *x, t_symbol *s)
}
else {
strcpy (filename,s->s_name);
- sprintf (path,x->x_path->s_name);
+ sprintf (path, "%s", x->x_path->s_name);
}
post ("path:%s , name:%s",path,filename);
glob_evalfile(0,gensym(filename),gensym(path));