summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-06-27 14:45:18 +1000
committerKeith Packard <keithp@keithp.com>2011-06-27 12:21:45 -0700
commit4dbed2625431a92e20bede7b8cef847b5d5d99ba (patch)
tree20dcf8e67f5cfbf6f5f4d4f6ca8689723bd56aa4 /hw
parent8ac651552bb70ba36238f430adab2f7a7f24db6e (diff)
xfree86: Only log the serial bytes if debug is on.
Introduced in e3f296d91dfe6b827195e1d387e1a04aa73b85c3, when the ifdef DEBUG around the whole block was removed, but only two of the three ErrorF switched to DebugF. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/os-support/shared/posix_tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/os-support/shared/posix_tty.c b/hw/xfree86/os-support/shared/posix_tty.c
index 1a330703c..fb8386022 100644
--- a/hw/xfree86/os-support/shared/posix_tty.c
+++ b/hw/xfree86/os-support/shared/posix_tty.c
@@ -404,7 +404,7 @@ xf86WriteSerial (int fd, const void *buf, int count)
DebugF("WritingSerial: 0x%x",(unsigned char)*(((unsigned char *)buf)));
for (i = 1; i < count; i++)
- ErrorF(", 0x%x",(unsigned char)*(((unsigned char *)buf) + i));
+ DebugF(", 0x%x",(unsigned char)*(((unsigned char *)buf) + i));
DebugF("\n");
SYSCALL (r = write (fd, buf, count));
return r;