summaryrefslogtreecommitdiff
path: root/gdb/windows-nat.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2013-06-11 11:01:46 +0000
committerJoel Brobecker <brobecker@gnat.com>2013-06-11 11:01:46 +0000
commit2ed3e009404afc6de621a5b7606922a115ec46bb (patch)
tree34103037f93380578e5d223222fb51d3837104e2 /gdb/windows-nat.c
parent0c3d84be3e696d2d1787a7240e086a72054b9679 (diff)
downloadbinutils-gdb-2ed3e009404afc6de621a5b7606922a115ec46bb.tar.gz
[windows] Fix accidental change of %u -> %d in SuspendThread warning.
While enhancing the warning printed in when SuspendThread fails, I accidently changed the format used to print the error code from %u to %d. This patch reverts it back. gdb/ChangeLog: * windows-nat.c (thread_rec): Revert format used to print error code returned by SuspendThread from %d back to %u.
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r--gdb/windows-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index e0bb7194e56..b30f4251ee3 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -312,7 +312,7 @@ thread_rec (DWORD id, int get_context)
{
DWORD err = GetLastError ();
warning (_("SuspendThread (tid=0x%x) failed."
- " (winerr %d)"),
+ " (winerr %u)"),
(unsigned) id, (unsigned) err);
return NULL;
}