diff options
author | Christopher Faylor <me@cgf.cx> | 2011-12-04 01:43:27 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2011-12-04 01:43:27 +0400 |
commit | b9aa81491f62f6053bb648f20143ba9e68051622 (patch) | |
tree | 4156e112e197c9d9e4de5d0eb3ba0e51b57b9364 /winsup/cygwin/grp.cc | |
parent | 8b2547826762b748ad5b2bbe4089c422c7cd312a (diff) |
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/grp.cc')
-rw-r--r-- | winsup/cygwin/grp.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/grp.cc b/winsup/cygwin/grp.cc index 182732f75..48efdb17f 100644 --- a/winsup/cygwin/grp.cc +++ b/winsup/cygwin/grp.cc @@ -456,7 +456,7 @@ initgroups32 (const char *user, __gid32_t gid) new_gsids.count (tmp_gsids.count ()); cygheap->user.groups.update_supp (new_gsids); } - syscall_printf ( "%d = initgroups (%s, %u)", ret, user, gid); + syscall_printf ( "%d = initgroups(%s, %u)", ret, user, gid); return ret; } @@ -497,7 +497,7 @@ getgrouplist (const char *user, gid_t gid, gid_t *groups, int *ngroups) ret = -1; *ngroups = cnt; } - syscall_printf ( "%d = getgrouplist (%s, %u, %p, %d)", + syscall_printf ( "%d = getgrouplist(%s, %u, %p, %d)", ret, user, gid, groups, *ngroups); return ret; } |