The branch stable/14 has been updated by markj:

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

commit f6824040125b85d049579bb6be917a1796c53da3
Author:     Mark Johnston <[email protected]>
AuthorDate: 2025-09-18 22:38:58 +0000
Commit:     Mark Johnston <[email protected]>
CommitDate: 2025-10-05 13:13:00 +0000

    pw: Style
    
    No functional change intended.
    
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
    Sponsored by:   Klara, Inc.
    
    (cherry picked from commit 42dc71a544a4d78d0068f70b6d4089a8c9e07cb1)
---
 usr.sbin/pw/pw.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/usr.sbin/pw/pw.c b/usr.sbin/pw/pw.c
index 18f1a17ba942..6f59e392bdd0 100644
--- a/usr.sbin/pw/pw.c
+++ b/usr.sbin/pw/pw.c
@@ -166,8 +166,7 @@ main(int argc, char *argv[])
                                conf.altroot = true;
                        } else
                                break;
-               }
-               else if (mode == -1 && (tmp = getindex(Modes, argv[1])) != -1)
+               } else if (mode == -1 && (tmp = getindex(Modes, argv[1])) != -1)
                        mode = tmp;
                else if (which == -1 && (tmp = getindex(Which, argv[1])) != -1)
                        which = tmp;
@@ -179,7 +178,7 @@ main(int argc, char *argv[])
                } else if (strcmp(argv[1], "help") == 0 && argv[2] == NULL)
                        cmdhelp(mode, which);
                else if (which != -1 && mode != -1)
-                               arg1 = argv[1];
+                       arg1 = argv[1];
                else
                        errx(EX_USAGE, "unknown keyword `%s'", argv[1]);
                ++argv;

Reply via email to