treewide: remove FSF address
[osmocom-bb.git] / src / target / firmware / lib / printf.c
bloba4fc68761f90d31a87ae2afa505cabf99ef03b24
2 #include <stdio.h>
3 #include <stdarg.h>
5 static char printf_buffer[1024];
7 int printf(const char *fmt, ...)
9 va_list args;
10 int r;
12 va_start(args, fmt);
13 r = vsnprintf(printf_buffer, sizeof(printf_buffer), fmt, args);
14 va_end(args);
16 puts(printf_buffer);
18 return r;