use memset in place of bzero
authorJohn Kohl <jtkohl@mit.edu>
Thu, 15 Nov 1990 11:21:45 +0000 (11:21 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 15 Nov 1990 11:21:45 +0000 (11:21 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1452 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/sample/sclient/sclient.c

index cfe5163e97b9133433bdc94d376b81b08afc3835..28eb1bdcd62e9c8d04fd2914d1c444cf549bbbdb 100644 (file)
@@ -68,7 +68,7 @@ char *argv[];
     }
 
     /* clear out the structure first */
-    (void) bzero((char *)&sin, sizeof(sin));
+    (void) memset((char *)&sin, 0, sizeof(sin));
 
     /* find the port number for knetd */
     sp = getservbyname(SAMPLE_SERVICE, "tcp");