Synch: Properly constify sccsid[].

Replace bcopy() with memmove().
This commit is contained in:
Jeroen Ruigrok van der Werven 2001-02-07 22:25:56 +00:00
parent 197640b1d7
commit 1debc9f69d

View File

@ -33,7 +33,7 @@
#ifndef lint
#if 0
static char sccsid[] = "@(#)sys_term.c 8.2 (Berkeley) 12/15/93";
static const char sccsid[] = "@(#)sys_term.c 8.2 (Berkeley) 12/15/93";
#endif
static const char rcsid[] =
"$FreeBSD$";
@ -234,7 +234,7 @@ copy_termbuf(cp, len)
{
if (len > sizeof(termbuf))
len = sizeof(termbuf);
bcopy(cp, (char *)&termbuf, len);
memmove((char *)&termbuf, cp, len);
termbuf2 = termbuf;
}
#endif /* defined(LINEMODE) && defined(TIOCPKT_IOCTL) */