git: 08ed87514f92 - main - tzsetup: appease checkstyle9
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Apr 2023 18:38:49 UTC
The branch main has been updated by yuripv:
URL: https://cgit.FreeBSD.org/src/commit/?id=08ed87514f9286f557794756eeb519456c2ecfa9
commit 08ed87514f9286f557794756eeb519456c2ecfa9
Author: Yuri Pankov <yuripv@FreeBSD.org>
AuthorDate: 2023-04-27 18:26:16 +0000
Commit: Yuri Pankov <yuripv@FreeBSD.org>
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;