diff options
| author | Jacques Vidrine <nectar@FreeBSD.org> | 2003-04-29 21:13:50 +0000 |
|---|---|---|
| committer | Jacques Vidrine <nectar@FreeBSD.org> | 2003-04-29 21:13:50 +0000 |
| commit | 5723e501abb675701352eb3e9fd58bb3cc2c649d (patch) | |
| tree | e9749f1ff2693755bce73e10528fc8cc6a6563ea /lib/libc/rpc/rpc_soc.c | |
| parent | a8b5a9cd120e319cacf1c68e4a257e6955e0d5d6 (diff) | |
Notes
Diffstat (limited to 'lib/libc/rpc/rpc_soc.c')
| -rw-r--r-- | lib/libc/rpc/rpc_soc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/rpc/rpc_soc.c b/lib/libc/rpc/rpc_soc.c index 9a58fc59246a..13a68f67178a 100644 --- a/lib/libc/rpc/rpc_soc.c +++ b/lib/libc/rpc/rpc_soc.c @@ -535,7 +535,7 @@ svcunix_create(sock, sendsize, recvsize, path) memset(&sun, 0, sizeof sun); sun.sun_family = AF_LOCAL; - if (strlcpy(sun.sun_path, path, sizeof(sun.sun_path)) >= + if (_strlcpy(sun.sun_path, path, sizeof(sun.sun_path)) >= sizeof(sun.sun_path)) goto done; sun.sun_len = SUN_LEN(&sun); |
