convert-from-bsd-to-posix-string-and-memory-functions-20010807
[openafs.git] / src / butc / tcmain.c
index 33b8d50..d50d0d9 100644 (file)
@@ -1165,7 +1165,7 @@ char **argv;
      */
     if (argc == 1) {
        ts = (struct cmd_syndesc *) malloc(sizeof(struct cmd_syndesc));
-       bzero(ts, sizeof(*ts));
+       memset(ts, 0, sizeof(*ts));
        
        ti = (struct cmd_item *) malloc(sizeof(struct cmd_item));
        ti->next = 0;