PXE_ia32 Network: Fix Wformat-security

Change-Id: I926cdafa422f7544ff7a0fdcc9c5561759066a3e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4475
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
Coldfirex 2021-09-17 11:33:10 -05:00 committed by waddlesplash
parent 81329d5c90
commit b1ce138fe8

View File

@ -92,7 +92,7 @@ PXEService::Init()
if (res != 0 || cached_info.Status != 0) {
char s[100];
snprintf(s, sizeof(s), "Can't determine IP address! PXENV_GET_CACHED_INFO res %x, status %x\n", res, cached_info.Status);
panic(s);
panic("%s", s);
return B_ERROR;
}