diff options
author | Christopher Faylor <me@cgf.cx> | 2011-12-03 21:43:27 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2011-12-03 21:43:27 +0000 |
commit | b9aa81491f62f6053bb648f20143ba9e68051622 (patch) | |
tree | 4156e112e197c9d9e4de5d0eb3ba0e51b57b9364 /winsup/cygwin/fhandler_registry.cc | |
parent | 8b2547826762b748ad5b2bbe4089c422c7cd312a (diff) | |
download | newlib-b9aa81491f62f6053bb648f20143ba9e68051622.zip newlib-b9aa81491f62f6053bb648f20143ba9e68051622.tar.gz newlib-b9aa81491f62f6053bb648f20143ba9e68051622.tar.bz2 |
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.
Diffstat (limited to 'winsup/cygwin/fhandler_registry.cc')
-rw-r--r-- | winsup/cygwin/fhandler_registry.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/fhandler_registry.cc b/winsup/cygwin/fhandler_registry.cc index b1b1c2d..50233a8 100644 --- a/winsup/cygwin/fhandler_registry.cc +++ b/winsup/cygwin/fhandler_registry.cc @@ -643,7 +643,7 @@ retry: res = 0; out: - syscall_printf ("%d = readdir (%p, %p)", res, dir, de); + syscall_printf ("%d = readdir(%p, %p)", res, dir, de); return res; } @@ -690,7 +690,7 @@ fhandler_registry::closedir (DIR * dir) res = -1; } } - syscall_printf ("%d = closedir (%p)", res, dir); + syscall_printf ("%d = closedir(%p)", res, dir); return 0; } @@ -833,7 +833,7 @@ success: set_flags ((flags & ~O_TEXT) | O_BINARY); set_open_status (); out: - syscall_printf ("%d = fhandler_registry::open (%p, %d)", res, flags, mode); + syscall_printf ("%d = fhandler_registry::open(%p, %d)", res, flags, mode); return res; } |