summaryrefslogtreecommitdiffstats
path: root/libexec/telnetd
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/telnetd')
-rw-r--r--libexec/telnetd/state.c2
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);
OpenPOWER on IntegriCloud