diff options
author | asmodai <asmodai@FreeBSD.org> | 2001-02-07 22:22:57 +0000 |
---|---|---|
committer | asmodai <asmodai@FreeBSD.org> | 2001-02-07 22:22:57 +0000 |
commit | dfe4864cef193cb716dc045f2db67b06e68c2487 (patch) | |
tree | 02d0dc9468d72337301e961cf2e6b1ad4989d50d /libexec | |
parent | 1393f49cab1c3781732d8a7191b5afc590e2228a (diff) | |
download | FreeBSD-src-dfe4864cef193cb716dc045f2db67b06e68c2487.zip FreeBSD-src-dfe4864cef193cb716dc045f2db67b06e68c2487.tar.gz |
Synch: Prefer memmove() over bcopy().
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/telnetd/state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/telnetd/state.c b/libexec/telnetd/state.c index 766e9e1..79af933 100644 --- a/libexec/telnetd/state.c +++ b/libexec/telnetd/state.c @@ -358,7 +358,7 @@ gotiac: switch (c) { char xbuf2[BUFSIZ]; register char *cp; int n = pfrontp - opfrontp, oc; - bcopy(opfrontp, xptyobuf, n); + memmove(xptyobuf, opfrontp, n); pfrontp = opfrontp; pfrontp += term_input(xptyobuf, pfrontp, n, BUFSIZ+NETSLOP, xbuf2, &oc, BUFSIZ); |