diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-11-03 21:20:09 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-11-03 21:20:09 +0000 |
commit | 1ddb91ad3643add8f4586f4e3be65712277fc2aa (patch) | |
tree | 77a74b680db9a53b28baf2c67a00562d8216b844 /firmware/logf.c | |
parent | 310346ebccbb3eff363223e2036a7450a5db0538 (diff) | |
download | rockbox-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.c | 2 |
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, ...) | |||
214 | DEBUGF("%s\n", buf); | 214 | DEBUGF("%s\n", buf); |
215 | #endif | 215 | #endif |
216 | 216 | ||
217 | vfnprintf(logf_push, NULL, fmt, ap); | 217 | vuprintf(logf_push, NULL, fmt, ap); |
218 | va_end(ap); | 218 | va_end(ap); |
219 | 219 | ||
220 | /* add trailing zero */ | 220 | /* add trailing zero */ |