From b9aa81491f62f6053bb648f20143ba9e68051622 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 3 Dec 2011 21:43:27 +0000 Subject: Throughout, remove extra space after function name from debugging output. Throughout, change syscalls to report on return values using new %R format option. * smallprint.cc (__small_vsprintf): Add parsing for %R to report on return values and possible errno from syscalls. * errno.cc (errmap): Add PRIVILEGE_NOT_HELD. * fhandler_tty.cc (fhandler_pty_master::setup): When creating a thread use shorter name to reduce debuggging output. * select.cc (start_thread_pipe): Ditto. (start_thread_serial): Ditto. (start_thread_socket): Ditto. (start_thread_mailslot): Ditto. * sigproc.cc (talktome): Ditto. --- winsup/cygwin/ntea.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/ntea.cc') diff --git a/winsup/cygwin/ntea.cc b/winsup/cygwin/ntea.cc index f12c90fca..b14f70497 100644 --- a/winsup/cygwin/ntea.cc +++ b/winsup/cygwin/ntea.cc @@ -210,7 +210,7 @@ read_ea (HANDLE hdl, path_conv &pc, const char *name, char *value, size_t size) out: if (!hdl) CloseHandle (h); - debug_printf ("%d = read_ea (%S, %s, %p, %lu)", + debug_printf ("%d = read_ea(%S, %s, %p, %lu)", ret, attr.ObjectName, name, value, size); return ret; } @@ -344,7 +344,7 @@ write_ea (HANDLE hdl, path_conv &pc, const char *name, const char *value, out: if (!hdl) CloseHandle (h); - debug_printf ("%d = write_ea (%S, %s, %p, %lu, %d)", + debug_printf ("%d = write_ea(%S, %s, %p, %lu, %d)", ret, attr.ObjectName, name, value, size, flags); return ret; } -- cgit v1.2.3