From nobody Sun Sep 06 16:56:44 2026 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 4hdGZT2Yrxz6rNcL for ; Sun, 06 Sep 2026 16:56:49 +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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hdGZT1tlcz3DQT for ; Sun, 06 Sep 2026 16:56:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788713809; 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=XVfSeOBN/E3+GPbmcqTmX05MtRscTAeb50QhMRdlbEA=; b=ExT6aC0R7h+AZ0mEIQvU9cezq7Zee0gr4eBy7X3VAXIsOwQoRWW1QkO5RILqTYozV+ZP+j nOW4fPc7lBlcx9xm3I/s/y7nBivk/VNkhwgfYaypYSbbMWBKpV1VIkX/+UUjyskSgXrvyO 9DRchD4Az/d5fCwuf5QkYSZvDo478hp8AwFbOclQuetwSP0lbRMML+/lEqTdxEYTXXCpIQ 1YtKzKTg2KMColenz9XX6BIwMUU+Sn/5eDPwEEFSYJd8KAlBG4qkx0ZwusD7VK9f1HulOs iAA4cpNcEC98Wt2kMyo6EdQcWS/ivtuXcKR83oWvAkJFy3HAKlHlP241Od5D7Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1788713809; a=rsa-sha256; cv=none; b=nY2TURQmjIneuUcgACwEpsaOdic3rD17jFvK9L03HTbmC6rAO4NGAGhKtTjr8bEfiZ0MSE KeU2K5RtFDXEWB6LX3LHDNAIs1VI3RpV6wGhFlH994UGLgPDTjSImNELEVfU0sDvYj4TVo nOO6kGv3LaKhMti9qhEJaCGDpI4bnkwjjubAqTsrWyqq+cIc3Guxyq4edZTXpG+xcWqwQA VYjxtvCM+swj0xUFE/UKzKQXvuILy11b5XCtJyTnMXjWGa4fiGzWYKKfHAOHJA8IWIgfiq JgMthB2lmXnRSrr4rKG9HXEdvrFtFxjIyQ8FI1T33l+Q7pfkrzKp0ziLR1eERQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788713809; 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=XVfSeOBN/E3+GPbmcqTmX05MtRscTAeb50QhMRdlbEA=; b=H6QHXH52fzOI8jmFkqgZZUznR9EBTohWPH/JslBKCM2L7wWLRSy8yP9SfCGzlco50f8mK3 6BGfnl/5rToa/jQ9PPq/6cNFhbWHtQTcuwibQtf8U6EXkEbOX3hfM5+URIOoTmowuMzvJO 1ramqT0llXoKFKjcxcWzdrtWhM3+GQf5sphelAyNJTrpn1rLWJZS++J8ANXOLBeQjiieod 1zaBWr4DdY09IebPSpNXxsBafTy8m8vB2R0afXp5KXI/POpfRY94PRwkggcYqTsif0AJss 3y57ldADV4172m2PhHYO9h0uuOSdOk4qruPEaui5wWyE85cY/Ss64fZhwOmPfQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hdGZT0dRgzgy8 for ; Sun, 06 Sep 2026 16:56:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 23030 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 06 Sep 2026 16:56:44 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Fernando Apeste=?utf-8?Q?gu=C3=ADa?= Subject: git: 88db004d3369 - main - whereis(1): Fix style(9) 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 88db004d3369f1bc9a6cdf1ead873b2d63413d23 Auto-Submitted: auto-generated Date: Sun, 06 Sep 2026 16:56:44 +0000 Message-Id: <6a9d9b4c.23030.1af376f6@gitrepo.freebsd.org> The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/src/commit/?id=88db004d3369f1bc9a6cdf1ead873b2d63413d23 commit 88db004d3369f1bc9a6cdf1ead873b2d63413d23 Author: Fernando ApesteguĂ­a AuthorDate: 2026-09-06 16:55:16 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2026-09-06 16:55:16 +0000 whereis(1): Fix style(9) Reported by: ngie@ Differential Revision: https://reviews.freebsd.org/D42156 --- usr.bin/whereis/whereis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/whereis/whereis.c b/usr.bin/whereis/whereis.c index 987ff68de44c..21b7c11cfb02 100644 --- a/usr.bin/whereis/whereis.c +++ b/usr.bin/whereis/whereis.c @@ -316,7 +316,7 @@ defaults(void) decolonify(b, &sourcedirs, &nele); path_ports = getenv("PORTSDIR"); - if (!path_ports) + if (path_ports == NULL) path_ports = PATH_PORTS; if (stat(path_ports, &sb) == -1) {