Blame SOURCES/nfs-utils-1.3.0-rpcgssd-errno-typo.patch

4f2874
commit 404c79c81df0548d50216cddc7d2c4ebfca45c45
4f2874
Author: Steve Dickson <steved@redhat.com>
4f2874
Date:   Fri Jul 25 10:48:16 2014 -0400
4f2874
4f2874
    gssd: Fixed errno typo in get_servername()
4f2874
    
4f2874
    Signed-off-by: Steve Dickson <steved@redhat.com>
4f2874
4f2874
diff --git a/utils/gssd/gssd_proc.c b/utils/gssd/gssd_proc.c
4f2874
index 40ff188..9925dab 100644
4f2874
--- a/utils/gssd/gssd_proc.c
4f2874
+++ b/utils/gssd/gssd_proc.c
4f2874
@@ -218,7 +218,7 @@ get_servername(const char *name, const struct sockaddr *sa, const char *addr)
4f2874
 			  NI_NAMEREQD);
4f2874
 	if (err) {
4f2874
 		printerr(0, "ERROR: unable to resolve %s to hostname: %s\n",
4f2874
-			 addr, err == EAI_SYSTEM ? strerror(err) :
4f2874
+			 addr, err == EAI_SYSTEM ? strerror(errno) :
4f2874
 						   gai_strerror(err));
4f2874
 		return NULL;
4f2874
 	}