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 5a56c23..eb59c1f 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))