The branch main has been updated by kfv:

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

commit d10e39d489a63cc034a1250d33e39743058639c2
Author:     Faraz Vahedi <[email protected]>
AuthorDate: 2026-09-15 16:12:14 +0000
Commit:     Faraz Vahedi <[email protected]>
CommitDate: 2026-09-15 16:12:14 +0000

    ps(1): Preserve const qualifier on strchr(3) result
    
    Reviewed by:    fuz, dteske
    Approved by:    fuz (mentor), dteske (mentor)
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D59666
---
 bin/ps/ps.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/ps/ps.c b/bin/ps/ps.c
index 94218f8cb2aa..8034e1286e8a 100644
--- a/bin/ps/ps.c
+++ b/bin/ps/ps.c
@@ -1436,7 +1436,8 @@ static char *
 kludge_oldps_options(const char *optlist, char *origval, const char *nextarg)
 {
        size_t len;
-       char *argp, *cp, *newopts, *ns, *optp, *pidp;
+       char *argp, *cp, *newopts, *ns, *pidp;
+       const char *optp;
 
        /*
         * See if the original value includes any option which takes an

Reply via email to