The branch main has been updated by kfv:

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

commit 066fad8aefcb5bda77482c526757712ad0637aa9
Author:     Faraz Vahedi <[email protected]>
AuthorDate: 2026-09-19 10:14:30 +0000
Commit:     Faraz Vahedi <[email protected]>
CommitDate: 2026-09-19 10:14:30 +0000

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

diff --git a/bin/ed/io.c b/bin/ed/io.c
index 3a1b6d8bb443..9836820302ff 100644
--- a/bin/ed/io.c
+++ b/bin/ed/io.c
@@ -297,7 +297,7 @@ put_tty_line(const char *s, int l, long n, int gflag)
 {
        int col = 0;
        int lc = 0;
-       char *cp;
+       const char *cp;
        wchar_t wc;
        mbstate_t mbs;
        size_t clen;

Reply via email to