2003-06-30 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Mon, 30 Jun 2003 15:03:07 +0000 (15:03 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 30 Jun 2003 15:03:07 +0000 (15:03 +0000)
* remote.c (remote_async_wait): Fix -Wformat problem.

gdb/ChangeLog
gdb/remote.c

index 1986cee..ffb7530 100644 (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
index ffa8c60..9ccb3a5 100644 (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 */