summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-lib/src/auth-unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/rpc-lib/src/auth-unix.c')
-rw-r--r--rpc/rpc-lib/src/auth-unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/rpc-lib/src/auth-unix.c b/rpc/rpc-lib/src/auth-unix.c
index c48743db937..c3b58945a56 100644
--- a/rpc/rpc-lib/src/auth-unix.c
+++ b/rpc/rpc-lib/src/auth-unix.c
@@ -35,7 +35,7 @@ auth_unix_request_init (rpcsvc_request_t *req, void *priv)
{
if (!req)
return -1;
- memset (req->verf.authdata, 0, RPCSVC_MAX_AUTH_BYTES);
+ memset (req->verf.authdata, 0, GF_MAX_AUTH_BYTES);
req->verf.datalen = 0;
req->verf.flavour = AUTH_NULL;