summaryrefslogtreecommitdiffstats
path: root/firmware/logf.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-11-03 21:20:09 +0000
committerThomas Martitz <kugel@rockbox.org>2009-11-03 21:20:09 +0000
commit1ddb91ad3643add8f4586f4e3be65712277fc2aa (patch)
tree77a74b680db9a53b28baf2c67a00562d8216b844 /firmware/logf.c
parent310346ebccbb3eff363223e2036a7450a5db0538 (diff)
downloadrockbox-1ddb91ad3643add8f4586f4e3be65712277fc2aa.tar.gz
rockbox-1ddb91ad3643add8f4586f4e3be65712277fc2aa.zip
Rename vfnprintf to vuprintf (u stands for user for the user callback and data passed to it) to avoid confusion with file and buffer size related functions from the printf-family, and add a comment to its declaration.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23503 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/logf.c')
-rw-r--r--firmware/logf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/logf.c b/firmware/logf.c
index 76b017c092..7d4ffe24af 100644
--- a/firmware/logf.c
+++ b/firmware/logf.c
@@ -214,7 +214,7 @@ void _logf(const char *fmt, ...)
DEBUGF("%s\n", buf);
#endif
- vfnprintf(logf_push, NULL, fmt, ap);
+ vuprintf(logf_push, NULL, fmt, ap);
va_end(ap);
/* add trailing zero */