Return to aitio.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / libaitio / src |
version 1.13.8.1, 2013/01/17 12:52:35 | version 1.14, 2013/03/13 14:54:39 |
---|---|
Line 75 io_SetErr(int eno, char *estr, ...) | Line 75 io_SetErr(int eno, char *estr, ...) |
va_list lst; | va_list lst; |
io_Errno = eno; | io_Errno = eno; |
memset(io_Error, 0, STRSIZ); | memset(io_Error, 0, sizeof io_Error); |
va_start(lst, estr); | va_start(lst, estr); |
vsnprintf(io_Error, STRSIZ, estr, lst); | vsnprintf(io_Error, sizeof io_Error, estr, lst); |
va_end(lst); | va_end(lst); |
} | } |