git: 4a07ed9bcd5f - main - chflags: fix indentation style bugs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Aug 2026 19:09:56 UTC
The branch main has been updated by asomers:
URL: https://cgit.FreeBSD.org/src/commit/?id=4a07ed9bcd5fd8c6635d2e086b9e5b83deb21766
commit 4a07ed9bcd5fd8c6635d2e086b9e5b83deb21766
Author: Jitendra Bhati <bhatijitendra2022@gmail.com>
AuthorDate: 2026-08-18 21:16:48 +0000
Commit: Alan Somers <asomers@FreeBSD.org>
CommitDate: 2026-08-23 19:01:59 +0000
chflags: fix indentation style bugs
Several lines in the flags-parsing block used spaces instead of
tabs for indentation. Convert them to tabs to match style(9).
No functional change.
Sponsored by: Google LLC (GSoC 2026)
---
bin/chflags/chflags.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/bin/chflags/chflags.c b/bin/chflags/chflags.c
index a78ebbfd471d..44bae3abe43b 100644
--- a/bin/chflags/chflags.c
+++ b/bin/chflags/chflags.c
@@ -133,14 +133,14 @@ main(int argc, char *argv[])
if (val < 0)
errno = ERANGE;
if (errno)
- err(1, "invalid flags: %s", flags);
- if (*ep)
- errx(1, "invalid flags: %s", flags);
+ err(1, "invalid flags: %s", flags);
+ if (*ep)
+ errx(1, "invalid flags: %s", flags);
set = val;
- oct = 1;
+ oct = 1;
} else {
if (strtofflags(&flags, &set, &clear))
- errx(1, "invalid flag: %s", flags);
+ errx(1, "invalid flag: %s", flags);
clear = ~clear;
oct = 0;
}