FreeCalypso > hg > fc-selenite
view src/libsys/sprintf/sprintf.c @ 211:4035c19073aa
etm_audio.c: fix off-by-one error in auw of FIR coefficients
This fix was already made in FC Tourmaline a while back, but it is also
the kind of bugfix that deserves to be backported to Magnetite and
Selenite as well.
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Mon, 31 Oct 2022 00:18:16 +0000 |
| parents | 425ab6d987f3 |
| children |
line wrap: on
line source
#include <stdarg.h> int sprintf(char *strdest, char *fmt, ...) { va_list ap; int len; va_start(ap, fmt); len = vsprintf(strdest, fmt, ap); va_end(ap); return(len); }
