diff options
author | asmodai <asmodai@FreeBSD.org> | 2001-02-07 22:18:58 +0000 |
---|---|---|
committer | asmodai <asmodai@FreeBSD.org> | 2001-02-07 22:18:58 +0000 |
commit | 248275ca893699719ce0ad7e2ebd9310269c9857 (patch) | |
tree | 689643b8d9ce91d1f71346b9df497c168ae58262 /libexec | |
parent | bf7345c3e8bed2635a24a751dcdf8805c12dc42c (diff) | |
download | FreeBSD-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.c | 2 |
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); } } |