From 681bb2f78aec647c42f20d7e8157c1f258957646 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 12 Mar 2014 16:00:48 +0000 Subject: * Throughout, fix format specifiers in debug statements to accommodate x86_64. --- winsup/cygserver/cygserver.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'winsup/cygserver/cygserver.cc') 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 @@ -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); -- cgit v1.1