* Throughout, fix format specifiers in debug statements to accommodate

x86_64.
This commit is contained in:
Corinna Vinschen
2014-03-12 16:00:48 +00:00
parent e4f48af0fd
commit 681bb2f78a
8 changed files with 85 additions and 94 deletions

View File

@ -1,6 +1,6 @@
/* cygserver.cc
Copyright 2001, 2002, 2003, 2004, 2005, 2007, 2011, 2012 Red Hat Inc.
Copyright 2001, 2002, 2003, 2004, 2005, 2007, 2011, 2012, 2014 Red Hat Inc.
Written by Egor Duda <deo@logos-m.ru>
@ -180,10 +180,10 @@ client_request_attach_tty::serve (transport_layer_base *const conn,
msglen (0); // Until we fill in some fields.
debug ("pid %ld:(%p,%p) -> pid %ld", req.master_pid, req.from_master,
debug ("pid %d:(%p,%p) -> pid %d", req.master_pid, req.from_master,
req.to_master, req.pid);
debug ("opening process %ld", req.master_pid);
debug ("opening process %d", req.master_pid);
const HANDLE from_process_handle =
OpenProcess (PROCESS_DUP_HANDLE, FALSE, req.master_pid);
@ -195,7 +195,7 @@ client_request_attach_tty::serve (transport_layer_base *const conn,
return;
}
debug ("opening process %ld", req.pid);
debug ("opening process %d", req.pid);
const HANDLE to_process_handle =
OpenProcess (PROCESS_DUP_HANDLE, FALSE, req.pid);