summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/resource.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2011-12-03 21:43:27 +0000
committerChristopher Faylor <me@cgf.cx>2011-12-03 21:43:27 +0000
commitb9aa81491f62f6053bb648f20143ba9e68051622 (patch)
tree4156e112e197c9d9e4de5d0eb3ba0e51b57b9364 /winsup/cygwin/resource.cc
parent8b2547826762b748ad5b2bbe4089c422c7cd312a (diff)
downloadcygnal-b9aa81491f62f6053bb648f20143ba9e68051622.tar.gz
cygnal-b9aa81491f62f6053bb648f20143ba9e68051622.tar.bz2
cygnal-b9aa81491f62f6053bb648f20143ba9e68051622.zip
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/resource.cc')
-rw-r--r--winsup/cygwin/resource.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/resource.cc b/winsup/cygwin/resource.cc
index 3d436b4b4..aaa6913a4 100644
--- a/winsup/cygwin/resource.cc
+++ b/winsup/cygwin/resource.cc
@@ -108,7 +108,7 @@ getrusage (int intwho, struct rusage *rusage_in)
res = -1;
}
- syscall_printf ("%d = getrusage (%d, %p)", res, intwho, rusage_in);
+ syscall_printf ("%R = getrusage(%d, %p)", res, intwho, rusage_in);
return res;
}