The branch main has been updated by asomers:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=4a07ed9bcd5fd8c6635d2e086b9e5b83deb21766

commit 4a07ed9bcd5fd8c6635d2e086b9e5b83deb21766
Author:     Jitendra Bhati <[email protected]>
AuthorDate: 2026-08-18 21:16:48 +0000
Commit:     Alan Somers <[email protected]>
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;
        }

Reply via email to