pxe_ia32: Fix another format string.
This commit is contained in:
@@ -66,7 +66,7 @@ platform_add_boot_device(struct stage2_args *args, NodeList *devicesList)
|
|||||||
if (error == B_OK) {
|
if (error == B_OK) {
|
||||||
char name[64];
|
char name[64];
|
||||||
ip_addr_t serverAddress = sTFTP.ServerIPAddress();
|
ip_addr_t serverAddress = sTFTP.ServerIPAddress();
|
||||||
snprintf(name, sizeof(name), "%lu.%lu.%lu.%lu:%s",
|
snprintf(name, sizeof(name), "%u.%u.%u.%u:%s",
|
||||||
(serverAddress >> 24), (serverAddress >> 16) & 0xff,
|
(serverAddress >> 24), (serverAddress >> 16) & 0xff,
|
||||||
(serverAddress >> 8) & 0xff, serverAddress & 0xff, fileName);
|
(serverAddress >> 8) & 0xff, serverAddress & 0xff, fileName);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user