From nobody Thu Apr 27 18:38:49 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 4Q6kyx6R2vz47n5v; Thu, 27 Apr 2023 18:38: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q6kyx5w4tz45wr; Thu, 27 Apr 2023 18:38:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682620729; 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=0NEOvW9Wv3ZMZ90x2VKMrjD71grQgU27dyxeFj2cfYc=; b=itvwT58zkE7mEFPeStIdyp8NQOBTUd3M5iNDVhoomGYrsCAGgDYOO/jMzssQfv3/BhSC0z we0Cn1PF47yTr7KcNmBGR8zOTUcnvlf/LAJUr8dXfL5wLrLWBMJD3kf/g3bQZZ4xA4tszw Eb+6T6mLwHLlSZS10jxXznZGltAjWwVZXX1A+yo9yXLs+M2oiq/S5z2S3YCPxpPgaF1wh3 TJyKP3bnawxRs4kild3SPU0EXykzd/5vRfYZXOSFYcgnJdZ4orEnb+qYGAlNg/1JkL9hRj iTB7CLUCfKKHs6yS2uR12kveE3SIHOZAJncy3KW1Uxx0pTLk5hqoDwkyUAnvYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682620729; 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=0NEOvW9Wv3ZMZ90x2VKMrjD71grQgU27dyxeFj2cfYc=; b=phuXVCZZvjkkTfPQfEhemEqqLMMaMeIChkDxuYHBlOOPM7gYYQ4QZUeW3b90oDp4C8vQ4Z 67HOkNErwI2VOlefu5xf391Q8Cmt5lvPVb/v0b3iZ80J6z9+y6eBTJRc7BeRWu00VKmzWq b5dt0z18n4Wq9wBR0ODymbr8pX0haecYt16ZUiq8Pr5GNUF/K2WEs+K0D54U1jKeoEmXeI ZhqfOk7TL/W/G9FuHUNx1Gn9fUMxvmBXdD3jdQ/v/YGts6Hc+30nI0knmF3lZ8iwQ7xZrU k+vzbRiX7dLWqUo4H+jsXKobZM6L2g34F12AtP8MdFCTE8Je0GNozUZBi6/89A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682620729; a=rsa-sha256; cv=none; b=oq6UHA8jemcYXL+nta4PTI3yRkVWZ1leRytlyL7HKcab/FuqdqgwUrG60Af1jDZCvySzEb ft0nb4UQUUrRS2Ar+VyTi69k2cPKx92Joioim1M8ZJP2drgVZ3ybnMfqthJGxlOy42b2HB 3nbxT0reLBnvwXgXAUzY4seAvLx93n6qFywKbXmnOAVrTltDbjMTkqGL8NWT52VjV/Pcga uUJzELq2pdZkJobXI4MUdrYF4YZgyaY04WoIue+RTBjgKwOrUhgnYuh6mKj7jsOWhnJ10e SxMs6hjpPZ0JfRAnfT+Fd05ubxbxAYzz3EFkD1zpaDPFYtqAetBUsxtKVZOOUw== 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 4Q6kyx4zmjzSq0; Thu, 27 Apr 2023 18:38:49 +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 33RIcn3R097427; Thu, 27 Apr 2023 18:38:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33RIcneG097426; Thu, 27 Apr 2023 18:38:49 GMT (envelope-from git) Date: Thu, 27 Apr 2023 18:38:49 GMT Message-Id: <202304271838.33RIcneG097426@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Yuri Pankov Subject: git: 08ed87514f92 - main - tzsetup: appease checkstyle9 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: yuripv X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 08ed87514f9286f557794756eeb519456c2ecfa9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuripv: URL: https://cgit.FreeBSD.org/src/commit/?id=08ed87514f9286f557794756eeb519456c2ecfa9 commit 08ed87514f9286f557794756eeb519456c2ecfa9 Author: Yuri Pankov AuthorDate: 2023-04-27 18:26:16 +0000 Commit: Yuri Pankov CommitDate: 2023-04-27 18:29:55 +0000 tzsetup: appease checkstyle9 --- usr.sbin/tzsetup/tzsetup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/tzsetup/tzsetup.c b/usr.sbin/tzsetup/tzsetup.c index a20c0730c48e..56013f013673 100644 --- a/usr.sbin/tzsetup/tzsetup.c +++ b/usr.sbin/tzsetup/tzsetup.c @@ -67,7 +67,7 @@ __FBSDID("$FreeBSD$"); #define _PATH_WALL_CMOS_CLOCK "/etc/wall_cmos_clock" #ifdef PATH_MAX -#define SILLY_BUFFER_SIZE 2*PATH_MAX +#define SILLY_BUFFER_SIZE (2 * PATH_MAX) #else #warning "Somebody needs to fix this to dynamically size this buffer." #define SILLY_BUFFER_SIZE 2048 @@ -858,7 +858,7 @@ main(int argc, char **argv) skiputc = 1; while ((c = getopt(argc, argv, "C:d:nrs")) != -1) { - switch(c) { + switch (c) { case 'C': chrootenv = optarg; break;