diff options
| author | Wincent Balin <wincent@rockbox.org> | 2009-08-04 13:52:43 +0000 |
|---|---|---|
| committer | Wincent Balin <wincent@rockbox.org> | 2009-08-04 13:52:43 +0000 |
| commit | 7996e773340698a6d8c7bcdc465b8a9245f65601 (patch) | |
| tree | 71d9f0d790cda97f7d9f9e23877007c72c96c4ed /apps/plugins/pdbox/PDa/src/m_fixed.c | |
| parent | 28fbb49c0bfe44142eb36b3891d4d28021a1b277 (diff) | |
| download | rockbox-7996e773340698a6d8c7bcdc465b8a9245f65601.zip rockbox-7996e773340698a6d8c7bcdc465b8a9245f65601.tar.gz rockbox-7996e773340698a6d8c7bcdc465b8a9245f65601.tar.bz2 rockbox-7996e773340698a6d8c7bcdc465b8a9245f65601.tar.xz | |
PDBox: Use correct values of maximal string size for snprintf.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22154 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pdbox/PDa/src/m_fixed.c')
| -rw-r--r-- | apps/plugins/pdbox/PDa/src/m_fixed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/pdbox/PDa/src/m_fixed.c b/apps/plugins/pdbox/PDa/src/m_fixed.c index 374f92c..9e47364 100644 --- a/apps/plugins/pdbox/PDa/src/m_fixed.c +++ b/apps/plugins/pdbox/PDa/src/m_fixed.c @@ -90,7 +90,7 @@ static void ipod_bang(t_ipod *x) { static char sendme[200]; #ifdef ROCKBOX - snprintf(sendme, sizeof(sendme)-1, "%s bang;\n", x->x_what->s_name); + snprintf(sendme, sizeof(sendme), "%s bang;\n", x->x_what->s_name); SEND_FROM_CORE(sendme); #else /* ROCKBOX */ sprintf(sendme,"%s bang;\n",x->x_what->s_name); |