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 47824a2..bea3c98 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__);
        }
 }