strfmon(3): Match the return type

Reviewed by:	kib
MFC after:	1 week
This commit is contained in:
Jose Luis Duran 2022-11-08 17:16:49 -03:00 committed by Konstantin Belousov
parent 59cc636d94
commit f5924ad8fd

View File

@ -645,7 +645,7 @@ ssize_t
strfmon(char * __restrict s, size_t maxsize, const char * __restrict format,
...)
{
size_t ret;
ssize_t ret;
va_list ap;
va_start(ap, format);
@ -659,7 +659,7 @@ ssize_t
strfmon_l(char * __restrict s, size_t maxsize, locale_t loc,
const char * __restrict format, ...)
{
size_t ret;
ssize_t ret;
va_list ap;
va_start(ap, format);