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/mount.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/mount.cc')
-rw-r--r-- | winsup/cygwin/mount.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/mount.cc b/winsup/cygwin/mount.cc index b0fe6ee8b..895592525 100644 --- a/winsup/cygwin/mount.cc +++ b/winsup/cygwin/mount.cc @@ -881,7 +881,7 @@ mount_info::conv_to_posix_path (const char *src_path, char *posix_path, int rc = normalize_win32_path (src_path, pathbuf, tail); if (rc != 0) { - debug_printf ("%d = conv_to_posix_path (%s)", rc, src_path); + debug_printf ("%d = conv_to_posix_path(%s)", rc, src_path); return rc; } @@ -1801,7 +1801,7 @@ mount (const char *win32_path, const char *posix_path, unsigned flags) res = mount_table->add_item (w32_path, posix_path, flags); } - syscall_printf ("%d = mount (%s, %s, %p)", res, win32_path, posix_path, flags); + syscall_printf ("%R = mount(%s, %s, %p)", res, win32_path, posix_path, flags); return res; } @@ -1836,7 +1836,7 @@ cygwin_umount (const char *path, unsigned flags) if (!(flags & MOUNT_CYGDRIVE)) res = mount_table->del_item (path, flags & ~MOUNT_SYSTEM); - syscall_printf ("%d = cygwin_umount (%s, %d)", res, path, flags); + syscall_printf ("%R = cygwin_umount(%s, %d)", res, path, flags); return res; } |