]> andersk Git - moira.git/blobdiff - afssync/pt_util-fast.c
Display user creation times.
[moira.git] / afssync / pt_util-fast.c
index 833c6e727add2d3fc6cded86cb27874cc7a969d2..8b32d43a8d9ce6f264536b7af03e4b0777546f19 100644 (file)
@@ -13,7 +13,7 @@
 #include <sys/time.h>
 #include <stdio.h>
 #include <ctype.h>
-#include <strings.h>
+#include <string.h>
 #include <sys/file.h>
 
 #include <afs/param.h>
@@ -169,7 +169,7 @@ char **argv;
     if (ntohl(uh->magic) != UBIK_MAGIC)
        fprintf(stderr, "ptdump: %s: Bad UBIK_MAGIC. Is %x should be %x\n",
                pfile, ntohl(uh->magic), UBIK_MAGIC);
-    bcopy(&uh->version, &uv, sizeof(struct ubik_version));
+    memcpy(&uv, &uh->version, sizeof(struct ubik_version));
     fprintf(stderr, "Ubik Version is: %d.%d\n",
            ntohl(uv.epoch), ntohl(uv.counter));
     if (read(dbase_fd, &prh, sizeof(struct prheader)) < 0) {
This page took 0.036232 seconds and 4 git commands to generate.