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
|
@ -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…
Reference in New Issue
Block a user