PC_Serial and USB_Serial: Fix -Wformat-security

Change-Id: Ia150eaf0e639c03b3d1f267d9ee582ff82bf0d21
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4442
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
This commit is contained in:
Coldfirex 2021-09-09 18:52:48 -05:00 committed by Adrien Destugues
parent 366e9a62e9
commit 5b2fc19fa0
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ pc_serial_trace(bool force, const char *format, ...)
close(fd);
release_sem(sLogLock);
} else
dprintf(buffer);
dprintf("%s", buffer);
}

View File

@ -98,7 +98,7 @@ usb_serial_trace(bool force, const char *format, ...)
close(fd);
release_sem(sLogLock);
} else
dprintf(buffer);
dprintf("%s", buffer);
}