mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-01 02:08:01 +02:00
xfree86: Only log the serial bytes if debug is on.
Introduced in e3f296d91d, 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>
This commit is contained in:
parent
8ac651552b
commit
4dbed26254
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue