convert-from-bsd-to-posix-string-and-memory-functions-20010807
[openafs.git] / src / WINNT / afsd / fs.c
index 985c444..1ad8aaf 100644 (file)
@@ -2664,7 +2664,7 @@ static afs_int32 GetCryptCmd(as)
     if (code) Die(code, (char *) 0);
     else {
       tp = space;
-      bcopy(tp, &flag, sizeof(afs_int32));
+      memcpy(&flag, tp, sizeof(afs_int32));
       printf("Security level is currently ");
       if (flag == 1)
         printf("crypt (data security).\n");