about summary refs log tree commit diff
path: root/sunrpc/clnt_gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc/clnt_gen.c')
-rw-r--r--sunrpc/clnt_gen.c2
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;