2003-06-30 Andrew Cagney <cagney@redhat.com>

* remote.c (remote_async_wait): Fix -Wformat problem.
This commit is contained in:
Andrew Cagney 2003-06-30 15:03:07 +00:00
parent 17a2f25124
commit 0a2cfde49a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-06-30 Andrew Cagney <cagney@redhat.com>
* remote.c (remote_async_wait): Fix -Wformat problem.
2003-06-29 Andrew Cagney <cagney@redhat.com>
* remote.c (remote_wait): Call error, and not warning, when the

View File

@ -3287,7 +3287,8 @@ remote_async_wait (ptid_t ptid, struct target_waitstatus *status)
}
if (*p++ != ';')
error ("Remote register badly formatted: %s\nhere:", buf, p);
error ("Remote register badly formatted: %s\nhere: %s",
buf, p);
}
}
/* fall through */