diff options
Diffstat (limited to 'winsup/utils/strace.cc')
-rw-r--r-- | winsup/utils/strace.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/utils/strace.cc b/winsup/utils/strace.cc index 383326416..19d15bd6d 100644 --- a/winsup/utils/strace.cc +++ b/winsup/utils/strace.cc @@ -131,7 +131,7 @@ add_child (DWORD id, HANDLE hproc) lasth = children.next->hproc = hproc; processes++; if (!quiet) - fprintf (stderr, "Windows process %d attached\n", id); + fprintf (stderr, "Windows process %lu attached\n", id); } } @@ -148,7 +148,7 @@ remove_child (DWORD id) c->next = c1->next; free (c1); if (!quiet) - fprintf (stderr, "Windows process %d detached\n", id); + fprintf (stderr, "Windows process %lu detached\n", id); processes--; return; } @@ -650,7 +650,7 @@ proc_child (unsigned mask, FILE *ofile, pid_t pid) { status = DBG_EXCEPTION_NOT_HANDLED; if (ev.u.Exception.dwFirstChance) - fprintf (ofile, "--- Process %u, exception %p at %p\n", ev.dwProcessId, + fprintf (ofile, "--- Process %lu, exception %p at %p\n", ev.dwProcessId, ev.u.Exception.ExceptionRecord.ExceptionCode, ev.u.Exception.ExceptionRecord.ExceptionAddress); } |