From 84346b7d7e69c113d6dbf03f2646a47b0e74a6b8 Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Mon, 8 Mar 2010 10:24:44 -0500 Subject: [PATCH] Use authunix_create() instead of authsys_create() to fix regression. Commit 409b8 introduced a regression when the --disable-tirpc configuration flag is set. The authsys_create() interface, which was introduced, does not exist in the legacy glibc library. Since the authsys_create() interface is a redefined of the authunix_create() interface, which is defined in glibc, using authunix_create() resolves the regression, Acked-by: Jeff Layton Signed-off-by: Steve Dickson --- support/nfs/rpc_socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/nfs/rpc_socket.c b/support/nfs/rpc_socket.c index aa6a205..c14efe8 100644 --- a/support/nfs/rpc_socket.c +++ b/support/nfs/rpc_socket.c @@ -576,5 +576,5 @@ nfs_authsys_create(void) if (gethostname(machname, sizeof(machname)) == -1) return NULL; - return authsys_create(machname, uid, gid, 1, &gid); + return authunix_create(machname, uid, gid, 1, &gid); } -- 2.39.5