summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>2001-02-07 22:18:58 +0000
committerasmodai <asmodai@FreeBSD.org>2001-02-07 22:18:58 +0000
commit248275ca893699719ce0ad7e2ebd9310269c9857 (patch)
tree689643b8d9ce91d1f71346b9df497c168ae58262 /libexec
parentbf7345c3e8bed2635a24a751dcdf8805c12dc42c (diff)
downloadFreeBSD-src-248275ca893699719ce0ad7e2ebd9310269c9857.zip
FreeBSD-src-248275ca893699719ce0ad7e2ebd9310269c9857.tar.gz
Synch: prefer memmove() over bcopy(), since the first is a C-standard
interface, whilst the latter is a BSD'ism.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/telnetd/slc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/telnetd/slc.c b/libexec/telnetd/slc.c
index f19f79f..b3e953c 100644
--- a/libexec/telnetd/slc.c
+++ b/libexec/telnetd/slc.c
@@ -467,7 +467,7 @@ do_opt_slc(ptr, len)
def_slcbuf = (unsigned char *)malloc((unsigned)len);
if (def_slcbuf == (unsigned char *)0)
return; /* too bad */
- bcopy(ptr, def_slcbuf, len);
+ memmove(def_slcbuf, ptr, len);
}
}
OpenPOWER on IntegriCloud