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
This commit is contained in:
Faraz Vahedi committed 2026-09-19 13:44:30 +03:30
1 parent 225612c76d
commit 066fad8aef
1 file changed
+1 -1
+1 -1
View File
@@ -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;