diff options
Diffstat (limited to 'sunrpc/svc_unix.c')
-rw-r--r-- | sunrpc/svc_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/svc_unix.c b/sunrpc/svc_unix.c index df56d9bd5c..a8ed53463e 100644 --- a/sunrpc/svc_unix.c +++ b/sunrpc/svc_unix.c @@ -138,7 +138,7 @@ svcunix_create (int sock, u_int sendsize, u_int recvsize, char *path) } memset (&addr, '\0', sizeof (addr)); addr.sun_family = AF_UNIX; - len = strlen (addr.sun_path) + 1; + len = strlen (path) + 1; memcpy (addr.sun_path, path, len); len += sizeof (addr.sun_family); |