mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
strfmon(3): Match the return type
(cherry picked from commit f5924ad8fd
)
This commit is contained in:
parent
4e12312607
commit
fd22978f86
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue