]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
nfs-utils: Remove fprintf() call from support/nfs/getport.c
authorChuck Lever <chuck.lever@oracle.com>
Wed, 4 Mar 2009 21:58:47 +0000 (16:58 -0500)
committerSteve Dickson <steved@redhat.com>
Wed, 4 Mar 2009 21:58:47 +0000 (16:58 -0500)
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

index 47824a24e5a969410cad9424206d927eafbf1bd9..bea3c98509137e81f58c9fa46b3dd1c96b965442 100644 (file)
@@ -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__);
        }
 }