diff options
-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); } } |