convert-from-bsd-to-posix-string-and-memory-functions-20010807
[openafs.git] / src / xstat / xstat_fs_test.c
index 0fff760..8547854 100644 (file)
@@ -709,7 +709,7 @@ int RunTheTest(a_s)
                    rn, curr_item->data);
            exit(-1);
        }
-       bcopy(he->h_addr, &(FSSktArray[currFS].sin_addr.s_addr), 4);
+       memcpy(&(FSSktArray[currFS].sin_addr.s_addr), he->h_addr, 4);
 
        /*
         * Move to the next File Server name.