From: Chuck Lever Date: Wed, 4 Mar 2009 21:58:47 +0000 (-0500) Subject: nfs-utils: Remove fprintf() call from support/nfs/getport.c X-Git-Tag: nfs-utils-1-1-5~9 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=882cf0a91b9df297b5ebe8c79a40478d3de4ae05;p=nfs-utils.git 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 Signed-off-by: Steve Dickson --- 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__); } }