From 8ea1cb17880a1a0787134cf5ff857af56a0c6e22 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Fri, 20 Apr 2007 12:42:05 +1000 Subject: [PATCH] Correct typo in error message: udp -> tcp --- portmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portmap.c b/portmap.c index 3036642..cdf1658 100644 --- a/portmap.c +++ b/portmap.c @@ -228,7 +228,7 @@ main(int argc, char **argv) setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &on, sizeof on); #endif if (bind(sock, (struct sockaddr *)&addr, len) != 0) { - syslog(LOG_ERR, "cannot bind udp: %m"); + syslog(LOG_ERR, "cannot bind tcp: %m"); exit(1); } if ((xprt = svctcp_create(sock, RPCSMALLMSGSIZE, RPCSMALLMSGSIZE)) -- 2.39.5