aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygserver/cygserver.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-03-12 16:00:48 +0000
committerCorinna Vinschen <corinna@vinschen.de>2014-03-12 16:00:48 +0000
commit681bb2f78aec647c42f20d7e8157c1f258957646 (patch)
treeefd5091cb25e06dd38b078440dd807fd6c0486ef /winsup/cygserver/cygserver.cc
parente4f48af0fd02a9e87f6ebcff10ab9d5f1d3556dc (diff)
downloadnewlib-681bb2f78aec647c42f20d7e8157c1f258957646.zip
newlib-681bb2f78aec647c42f20d7e8157c1f258957646.tar.gz
newlib-681bb2f78aec647c42f20d7e8157c1f258957646.tar.bz2
* Throughout, fix format specifiers in debug statements to accommodate
x86_64.
Diffstat (limited to 'winsup/cygserver/cygserver.cc')
-rw-r--r--winsup/cygserver/cygserver.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygserver/cygserver.cc b/winsup/cygserver/cygserver.cc
index bf78e9d..45048ed 100644
--- a/winsup/cygserver/cygserver.cc
+++ b/winsup/cygserver/cygserver.cc
@@ -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);