From nobody Thu Feb 03 16:58:45 2022 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 544D419A20B4; Thu, 3 Feb 2022 16:58:46 +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 4JqPyG1jFLz4vL2; Thu, 3 Feb 2022 16:58:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643907526; 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=RTHmhZg2dtM3pCQa6F3h+VMm/SMnDmLU5TcNDa8ENG8=; b=gVzNQHVHCk7VDKi/QgyZuOoiUKNLWttL1xCiZCuPxQXRxwFlDYqgUY4y/6BNFrUpwI+Nou rpuqy26wWzQZpAegjrgXl1tADqKobjFnhBXctLesIxU+AW9gOI6Azs5ViF4/a2g/KCRwl8 lc/IBtxOKkh52o+GVKSeH2+93XQXoMXCE8hhlJy5zKZ1gfr+6fy7RHJnpymSpznjRaLrti BR3kYhZ+OZLAB9KP2S/5TWY827qrMJ35CW+C+IYZPDMm/KQ9L/GJJqbN0py6fecqRoyqoc J9wZBG2ohbZTL+91I6/ljqt1oiX9xUF6inIVzdQkZadzWJZGJlSGwjZmSbQCCg== 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 16EA21BD07; Thu, 3 Feb 2022 16:58:46 +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 213GwjTC025792; Thu, 3 Feb 2022 16:58:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 213Gwjct025791; Thu, 3 Feb 2022 16:58:45 GMT (envelope-from git) Date: Thu, 3 Feb 2022 16:58:45 GMT Message-Id: <202202031658.213Gwjct025791@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Wolfram Schneider Subject: git: 39a30a8097cf - main - better printf(3) format usage 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: wosch X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 39a30a8097cfc78291376991ab5373f279db662d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643907526; 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=RTHmhZg2dtM3pCQa6F3h+VMm/SMnDmLU5TcNDa8ENG8=; b=ZG3x3HoJn83UgSK7YNZN39FD7elVVbfr/2ll/g1kRJQ0m0BtBkrUBWgOXhe2Ne50CBzUjT 4egEomqBVc1W5QvZMf7q+N3Gk5R25j5JvkOvFS7GaPr0tl9nc7RR2PwTahd+6yrgp+CsB+ AmYDxo9jXCxEh0IQXe5lD+3Gu+c1jiTObMd17QZXykT9j2Q0C0pGwMif/nhGlhsEYzT/wN FuNVrPySlG2MeVLoUplmu7Z+yR9prG3joTNHwTPTVh0NeNBBt2Gzk8j5Axvjqj9n/JuJR6 HHIsdSHBCOJwdZ2WCFkBc1LC7Hh19CaeTg7V22WZotqSMgCyGSBx8WLbIW/+Sg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643907526; a=rsa-sha256; cv=none; b=xoIuyr7x8Vn65cIAcNkxORstH6miG5Jr9VNxF6q56b5lB3ZGNRWtWpXgC54CEzFTVFZVNo Bc0YMpIlW3EEBtqRMY04uHTAkTjHZjpkvw8mLT2zxyZ8nnTaRiJMdKC3uIftn5veSF6A2G ZqqiBg60CdpZpx6jzCp+RY2Kx4Tb+lj/EC8RBPCyfcvmG/8FoSbKov5vIL0c6MPJBE4nKM kfxahhS+34EuLNXj+1EA/UQoqWTGC8LociONO67RkPOcey22NYKYj/oLR23ML7WlFyElsu bXH+JYPo+jMyXsVAP073uQLcWURxkhWCjMkur2pZQCDFHBIG36ctz0J+FZML3Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by wosch: URL: https://cgit.FreeBSD.org/src/commit/?id=39a30a8097cfc78291376991ab5373f279db662d commit 39a30a8097cfc78291376991ab5373f279db662d Author: Wolfram Schneider AuthorDate: 2022-02-03 16:56:32 +0000 Commit: Wolfram Schneider CommitDate: 2022-02-03 16:57:25 +0000 better printf(3) format usage Reported by: jhb --- usr.bin/locate/locate/fastfind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/locate/locate/fastfind.c b/usr.bin/locate/locate/fastfind.c index 0dbec4ea15d3..2300d17cff00 100644 --- a/usr.bin/locate/locate/fastfind.c +++ b/usr.bin/locate/locate/fastfind.c @@ -296,7 +296,7 @@ fastfind } if (p - path >= LOCATE_PATH_MAX) - errx(1, "corrupted database: %s %zu", database, (size_t)(p - path)); + errx(1, "corrupted database: %s %td", database, p - path); }