From: Andrew Cagney Date: Mon, 30 Jun 2003 15:03:55 +0000 (+0000) Subject: 2003-06-30 Andrew Cagney X-Git-Tag: cagney_x86i386-20030821-branchpoint~137 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0202d0abfcbb4f303ea06db3652cfac1ec5a5536;p=thirdparty%2Fbinutils-gdb.git 2003-06-30 Andrew Cagney * remote.c (remote_async_wait): Fix -Wformat problem. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 72ab118d423..e57ac027408 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2003-06-30 Andrew Cagney + + * remote.c (remote_async_wait): Fix -Wformat problem. + 2003-06-29 Andrew Cagney * remote.c (remote_wait): Call error, and not warning, when the diff --git a/gdb/remote.c b/gdb/remote.c index ffa8c609f5a..9ccb3a5225c 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -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 */