It's just a wrapper for vsnprintf() so call that instead.
Cc: Mikko Virkkilä <mikko.virkkila@bluegiga.com>
Cc: Lauri Hintsala <Lauri.Hintsala@bluegiga.com>
Cc: Riku Mettälä <riku.mettala@bluegiga.com>
Cc: Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
s32 r;
va_list args;
va_start(args, fmt);
- r = CsrVsnprintf(dest, n, fmt, args);
+ r = vsnprintf(dest, n, fmt, args);
va_end(args);
if (dest && (n > 0))
EXPORT_SYMBOL_GPL(CsrStrLen);
#endif
-s32 CsrVsnprintf(char *string, size_t count, const char *format, va_list args)
-{
- return vsnprintf(string, count, format, args);
-}
-EXPORT_SYMBOL_GPL(CsrVsnprintf);
-
MODULE_DESCRIPTION("CSR Operating System Kernel Abstraction");
MODULE_AUTHOR("Cambridge Silicon Radio Ltd.");
MODULE_LICENSE("GPL and additional rights");
void *CsrMemCpy(void *dest, const void *src, size_t count);
size_t CsrStrLen(const char *string);
#endif /* !CSR_USE_STDC_LIB */
-s32 CsrVsnprintf(char *string, size_t count, const char *format, va_list args);
#define CsrOffsetOf(st, m) ((size_t) & ((st *) 0)->m)
va_list args;
va_start(args, fmt);
- CsrVsnprintf(s, DEBUG_BUFFER_SIZE, fmt, args);
+ vsnprintf(s, DEBUG_BUFFER_SIZE, fmt, args);
va_end(args);
unifi_debug_string_to_buf(s);