mirror of
https://review.haiku-os.org/haiku
synced 2025-02-01 11:15:59 +01:00
Added some more debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9715 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7adec93fe8
commit
26fbfbaa64
@ -508,6 +508,8 @@ tty_input_read(struct tty *tty, void *buffer, size_t *_length, uint32 mode)
|
||||
size_t length = *_length;
|
||||
ssize_t bytesRead = 0;
|
||||
|
||||
TRACE(("tty_input_read(tty = %p, length = %lu, mode = %lu)\n", tty, length, mode));
|
||||
|
||||
if (length == 0)
|
||||
return B_OK;
|
||||
|
||||
@ -552,6 +554,9 @@ tty_write_to_tty(struct tty *source, struct tty *target, const void *buffer, siz
|
||||
// set. That's because our target is supposed to echo back at us, not
|
||||
// to itself.
|
||||
|
||||
TRACE(("tty_write_to_tty(source = %p, target = %p, length = %lu, %s%s)\n", source, target, length,
|
||||
sourceIsMaster ? "master" : "slave", echo ? ", echo mode" : ""));
|
||||
|
||||
// ToDo: "buffer" is not yet copied or accessed in a safe way!
|
||||
|
||||
if (length == 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user