strfmon(3): Match the return type
Reviewed by: kib MFC after: 1 week
This commit is contained in:
parent
59cc636d94
commit
f5924ad8fd
@ -645,7 +645,7 @@ ssize_t
|
|||||||
strfmon(char * __restrict s, size_t maxsize, const char * __restrict format,
|
strfmon(char * __restrict s, size_t maxsize, const char * __restrict format,
|
||||||
...)
|
...)
|
||||||
{
|
{
|
||||||
size_t ret;
|
ssize_t ret;
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
|
||||||
va_start(ap, format);
|
va_start(ap, format);
|
||||||
@ -659,7 +659,7 @@ ssize_t
|
|||||||
strfmon_l(char * __restrict s, size_t maxsize, locale_t loc,
|
strfmon_l(char * __restrict s, size_t maxsize, locale_t loc,
|
||||||
const char * __restrict format, ...)
|
const char * __restrict format, ...)
|
||||||
{
|
{
|
||||||
size_t ret;
|
ssize_t ret;
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
|
||||||
va_start(ap, format);
|
va_start(ap, format);
|
||||||
|
Loading…
Reference in New Issue
Block a user