summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2007-08-10 18:19:45 -0400
committerNeil Brown <neilb@suse.de>2007-08-11 09:47:35 +1000
commit1e892795cb2b482e5f6b8476227e187b419a6232 (patch)
tree780ec36566207310e2d58f820b91d7c075b003d8
parent786206401b9c216f0ebacfbb7970608d7ef763c3 (diff)
downloadnfs-utils-1e892795cb2b482e5f6b8476227e187b419a6232.tar.gz
nfs-utils-1e892795cb2b482e5f6b8476227e187b419a6232.tar.xz
nfs-utils-1e892795cb2b482e5f6b8476227e187b419a6232.zip
mount.nfs: Treat another UDP/TCP pair of strings like the rest
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>
-rw-r--r--utils/mount/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/mount/network.c b/utils/mount/network.c
index 5a56c23..eb59c1f 100644
--- a/utils/mount/network.c
+++ b/utils/mount/network.c
@@ -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))