]> andersk Git - moira.git/blobdiff - afssync/ubik.c
Oracle and Solaris/POSIX changes
[moira.git] / afssync / ubik.c
index f00891c48354e374a88fea163d6c75e4fe88df87..6c5622d515727d4f2147f5b13d5a9aac0c5e29fe 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <lock.h>
 #define UBIK_INTERNALS
+#include <stds.h>
 #include <ubik.h>
 #include <rx/xdr.h>
 #include "print.h"
@@ -89,7 +90,7 @@ int ubik_GetVersion(dummy, ver)
 int dummy;
 struct ubik_version *ver;
 {
-    bzero(ver, sizeof(struct ubik_version));
+    memset(ver, 0, sizeof(struct ubik_version));
     return(0);
 }
 
@@ -134,7 +135,7 @@ long len;
        return(1);
     }
     if (status < len)
-      bzero(&buf[status], len - status);
+      memset(&buf[status], 0, len - status);
     return(0);
 }
 
This page took 0.031346 seconds and 4 git commands to generate.