From nobody Tue Jan 31 00:39:12 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P5R4w4jxPz3bt7Z; Tue, 31 Jan 2023 00:39:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P5R4w36xnz4WbK; Tue, 31 Jan 2023 00:39:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675125552; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=euzWWBk+WSXuMIpIu24RqYSGJMYg8Ony5ZkLX+INxdM=; b=xZZ3Ee9DX6UEUO3uLJhiBI1lmdar6pD0dAspB+EuEtkRT2tpqDI6S84GuotQhv2Xe4sgmF S8aJlnpQMu89PTt0tOhOFyUnH443ByQIwu7tXHUhNPODwfxL/DFNJGSt9GJ6UUOXZBeCll Z8Sps2KWOJqfQADQkxka45hjUNZcu297MAFs3WOtd2qxZttSff/SvfE+izcGQ9OsbfDjwQ R83z9WXbOI4LlHruBJFz4jo9Kwm021uyUsTBPGN66NfFflnjQSszszd/1yQyFh8/agZl5E TFeLiJnRqlkQvPFwRVOxYxoeF8kmVzsGBZqEJTyIs4SAJRVk0BWPklIpIfpRFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675125552; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=euzWWBk+WSXuMIpIu24RqYSGJMYg8Ony5ZkLX+INxdM=; b=x5Siz1KjnnaGX/Le6cnHwIpGv7GBwp/6wxTINxlyQCDS10x5lsUWmJVxOL8i6DPiqqLtZk XhgXc9P6MhzMOUaL2Lk7sa9fLfztYkNUgsquxoXS2msuUgTS5/ASUJ7sSaLseT1QCNMkQZ 5rHEioG5IysPJnu3NI+PCqolQWeqZ0Is0b1v777VwNufGVJ7RdGOLVvKTtj2obQEH+s+zD MpJk62S7guBuJr016mIZKSTW1StF4gNP2OLby6evSjqCzJoUlJzMwG+uAb0hHcnFwdn/cV Tj7QT86jsggBQaP0Uzr5kprD7LMmVwJWfOhRu1VhoZDh9y7dRMIdX4BNEibHJA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675125552; a=rsa-sha256; cv=none; b=H9o4XmlYmV5mKNnHN3RGaw6U5Px539T8a7qtXCf7YntYlF2sfzoM1PAsp4/5Ql46lAGzxE kl4eK8cu5tP0mwUHpRv3FtELtwZIQ4K11Bo2bNBwQ205594rgiVQwvuLUfkJ8AvFgOfgZW 0CidFGEln7wC9Z4WCN/M1IWkoWLvWaNd4jj8LRIhXhD3NrBjclmttNgCOVe1jcPggaRnMc QeQgNTK9kciOClWVASW729K0WVm/7+fU6GPloa2/CNGlFDCQ+MOplSPsMmBxwulJy6kwT6 eT/hNO3ms4J6Bd9196krN0LaU1i8XHQLb62WNeU5L+o6pvTy5lsQfQBNwAAiqA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P5R4w1sg2zTy5; Tue, 31 Jan 2023 00:39:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30V0dCH4059626; Tue, 31 Jan 2023 00:39:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30V0dC15059625; Tue, 31 Jan 2023 00:39:12 GMT (envelope-from git) Date: Tue, 31 Jan 2023 00:39:12 GMT Message-Id: <202301310039.30V0dC15059625@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: fd22978f860c - stable/13 - strfmon(3): Match the return type List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: fd22978f860c03543b7b951c6a0886ef3b883c5e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=fd22978f860c03543b7b951c6a0886ef3b883c5e commit fd22978f860c03543b7b951c6a0886ef3b883c5e Author: Jose Luis Duran AuthorDate: 2022-11-08 20:16:49 +0000 Commit: Konstantin Belousov CommitDate: 2023-01-31 00:38:19 +0000 strfmon(3): Match the return type (cherry picked from commit f5924ad8fde4d5e9c233b821cb6097c6a46740b5) --- lib/libc/stdlib/strfmon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/stdlib/strfmon.c b/lib/libc/stdlib/strfmon.c index b50d08400cbb..0e3cd53fff2f 100644 --- a/lib/libc/stdlib/strfmon.c +++ b/lib/libc/stdlib/strfmon.c @@ -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);