diff options
Diffstat (limited to 'gdb/target-connection.c')
-rw-r--r-- | gdb/target-connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target-connection.c b/gdb/target-connection.c index d88b9c8..55818cf 100644 --- a/gdb/target-connection.c +++ b/gdb/target-connection.c @@ -91,7 +91,7 @@ print_connection (struct ui_out *uiout, const char *requested_connections) process_stratum_target *t = it.second; - size_t l = strlen (make_target_connection_string (t).c_str ()); + size_t l = make_target_connection_string (t).length (); if (l > what_len) what_len = l; } |