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:
parent
366e9a62e9
commit
5b2fc19fa0
@ -95,7 +95,7 @@ pc_serial_trace(bool force, const char *format, ...)
|
||||
close(fd);
|
||||
release_sem(sLogLock);
|
||||
} else
|
||||
dprintf(buffer);
|
||||
dprintf("%s", buffer);
|
||||
}
|
||||
|
||||
|
||||
|
@ -98,7 +98,7 @@ usb_serial_trace(bool force, const char *format, ...)
|
||||
close(fd);
|
||||
release_sem(sLogLock);
|
||||
} else
|
||||
dprintf(buffer);
|
||||
dprintf("%s", buffer);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user