ATATracing: Fix wformat-security

Change-Id: I36e71a4705b811e45935bf3faa11b15617b04cc0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4474
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
Coldfirex 2021-09-17 09:12:37 -05:00 committed by waddlesplash
parent a33cf10dcf
commit 81329d5c90

View File

@ -32,7 +32,7 @@ ata_trace_printf(uint32 flags, const char *format, ...)
ktrace_printf(sTraceBuffer);
#endif
if (flags & ATA_TRACE_SYSLOG)
dprintf(sTraceBuffer);
dprintf("%s", sTraceBuffer);
sTraceBufferOffset = 0;
}