summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/lib
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2004-03-05 18:25:33 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2004-03-05 18:25:33 +0000
commit1cf0ea1f0affb40b050524b4c65ec988152df068 (patch)
treeff6056c48390114b5f455dab1946496e5198d8bd /cpukit/libnetworking/lib
parent2004-03-05 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-1cf0ea1f0affb40b050524b4c65ec988152df068.tar.bz2
2004-03-05 Joel Sherrill <joel@OARcorp.com>
* libnetworking/lib/ftpfs.c: Switch bcopy to memcpy.
Diffstat (limited to 'cpukit/libnetworking/lib')
-rw-r--r--cpukit/libnetworking/lib/ftpfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libnetworking/lib/ftpfs.c b/cpukit/libnetworking/lib/ftpfs.c
index 28ec9422ae..8a6769f2de 100644
--- a/cpukit/libnetworking/lib/ftpfs.c
+++ b/cpukit/libnetworking/lib/ftpfs.c
@@ -636,8 +636,8 @@ int rtems_ftp_open(
hent = gethostbyname(hostname);
if (hent != NULL) {
- bcopy(hent->h_addr,
- (char *)(&(fsp->farCtrlAddress.sin_addr)),
+ memcpy((char *)(&(fsp->farCtrlAddress.sin_addr)),
+ hent->h_addr,
sizeof(fsp->farCtrlAddress.sin_addr));
}
else {