]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
mount.nfs: Treat another UDP/TCP pair of strings like the rest
authorChuck Lever <chuck.lever@oracle.com>
Fri, 10 Aug 2007 22:19:45 +0000 (18:19 -0400)
committerNeil Brown <neilb@suse.de>
Fri, 10 Aug 2007 23:47:35 +0000 (09:47 +1000)
See the error messages at the end of utils/mount/network.c:get_socket()

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Neil Brown <neilb@suse.de>
utils/mount/network.c

index 5a56c23ce20f9b9ca6333d9f1e08f837a8d18925..eb59c1f278a93f2ec2926e88268f92a0f91f7de4 100644 (file)
@@ -388,7 +388,7 @@ static int probe_port(clnt_addr_t *server, const unsigned long *versions,
                                                inet_ntoa(saddr->sin_addr),
                                                prog, *p_vers,
                                                *p_prot == IPPROTO_UDP ?
-                                                       "udp" : "tcp",
+                                                       _("UDP") : _("TCP"),
                                                p_port);
                                 }
                                if (clnt_ping(saddr, prog, *p_vers, *p_prot, NULL))