]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ser-tcp.c
Unify gdb printf functions
[thirdparty/binutils-gdb.git] / gdb / ser-tcp.c
index e7d2cc9bc60af3d57e91213a16ddce5b519cef1d..ffc039b54ab6d1bef7d89b11c4e855f1c78c91ae 100644 (file)
@@ -296,8 +296,8 @@ net_open (struct serial *scb, const char *name)
 
   if (r != 0)
     {
-      fprintf_unfiltered (gdb_stderr, _("%s: cannot resolve name: %s\n"),
-                         name, gai_strerror (r));
+      gdb_printf (gdb_stderr, _("%s: cannot resolve name: %s\n"),
+                 name, gai_strerror (r));
       errno = ENOENT;
       return -1;
     }