mirror of
https://github.com/Interlisp/maiko.git
synced 2026-02-02 14:51:23 +00:00
Use memset instead of bzero. (#131)
This commit is contained in:
@@ -16,6 +16,7 @@ int main(int argc, char *argv[])
|
||||
#else
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
@@ -97,7 +98,7 @@ int main(int argc, char *argv[])
|
||||
perror("Couldn't GIFCONF socket; Net is off");
|
||||
#else /* OS4 */
|
||||
|
||||
bzero(ifbuf, sizeof(ifbuf));
|
||||
memset(ifbuf, 0, sizeof(ifbuf));
|
||||
{
|
||||
/* we have to get the interface name from another socket, since
|
||||
/dev/nit doesn't know anything until it gets bound, and we
|
||||
|
||||
Reference in New Issue
Block a user