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.
This commit is contained in:
@@ -707,7 +707,7 @@ done:
|
||||
status, fh, access, pc.get_nt_native_path (), file_attributes,
|
||||
shared, create_disposition, options);
|
||||
|
||||
syscall_printf ("%d = fhandler_base::open (%S, %p)",
|
||||
syscall_printf ("%d = fhandler_base::open(%S, %p)",
|
||||
res, pc.get_nt_native_path (), flags);
|
||||
return res;
|
||||
}
|
||||
@@ -1251,7 +1251,7 @@ fhandler_base::ioctl (unsigned int cmd, void *buf)
|
||||
break;
|
||||
}
|
||||
|
||||
syscall_printf ("%d = ioctl (%x, %p)", res, cmd, buf);
|
||||
syscall_printf ("%d = ioctl(%x, %p)", res, cmd, buf);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user