diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-03-17 09:02:53 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-03-17 09:02:53 +0000 |
commit | 79c8a8cbbec5f1f0f7766d2b72ce12d51b3b849d (patch) | |
tree | d5c3fbab0ec01d2b0ca7d5278f15cf45f79b0763 /apps/plugins/search.c | |
parent | 1329d7d3fde426a290c03ee92b1c701dde49851c (diff) |
Let GCC check arguments of some more printf-style functions, also for plugins and codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12815 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/search.c')
-rw-r--r-- | apps/plugins/search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/search.c b/apps/plugins/search.c index 6d4cfd2d78..26669f2b83 100644 --- a/apps/plugins/search.c +++ b/apps/plugins/search.c @@ -168,7 +168,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) if(p) *p = 0; - rb->snprintf(resultfile, MAX_PATH, "%s/search_result.m3u", path, p+1); + rb->snprintf(resultfile, MAX_PATH, "%s/search_result.m3u", path); ok = search_init(parameter); if (!ok) { return PLUGIN_ERROR; |