From 882cf0a91b9df297b5ebe8c79a40478d3de4ae05 Mon Sep 17 00:00:00 2001
From: Chuck Lever <chuck.lever@oracle.com>
Date: Wed, 4 Mar 2009 16:58:47 -0500
Subject: [PATCH] nfs-utils: Remove fprintf() call from support/nfs/getport.c

getport.c is effectively a library, so it should not be emitting
messages via printf.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
---
 support/nfs/getport.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/support/nfs/getport.c b/support/nfs/getport.c
index 47824a2..bea3c98 100644
--- a/support/nfs/getport.c
+++ b/support/nfs/getport.c
@@ -175,9 +175,6 @@ static void nfs_gp_set_port(struct sockaddr *sap, const in_port_t port)
 	case AF_INET6:
 		sin6->sin6_port = port;
 		break;
-	default:
-		fprintf(stderr, "%s: unrecognized address family\n",
-			__func__);
 	}
 }
 
-- 
2.39.5