summaryrefslogtreecommitdiff
path: root/gdb/ser-tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ser-tcp.c')
-rw-r--r--gdb/ser-tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c
index 632ea1cadfe..20091919dd1 100644
--- a/gdb/ser-tcp.c
+++ b/gdb/ser-tcp.c
@@ -74,7 +74,7 @@ net_open (struct serial *scb, const char *name)
port_str = strchr (name, ':');
if (!port_str)
- error ("net_open: No colon in host name!"); /* Shouldn't ever happen */
+ error (_("net_open: No colon in host name!")); /* Shouldn't ever happen */
tmp = min (port_str - name, (int) sizeof hostname - 1);
strncpy (hostname, name, tmp); /* Don't want colon */