diff options
Diffstat (limited to 'sunrpc/clnt_gen.c')
-rw-r--r-- | sunrpc/clnt_gen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/clnt_gen.c b/sunrpc/clnt_gen.c index 542f85dd35..13ced8994e 100644 --- a/sunrpc/clnt_gen.c +++ b/sunrpc/clnt_gen.c @@ -57,7 +57,7 @@ clnt_create (const char *hostname, u_long prog, u_long vers, if (strcmp (proto, "unix") == 0) { - __bzero ((char *)&sun, sizeof (sun)); + memset ((char *)&sun, 0, sizeof (sun)); sun.sun_family = AF_UNIX; strcpy (sun.sun_path, hostname); sock = RPC_ANYSOCK; |