net_server: fix wrong type of arguments to formatting function

Pointed out by LGTM

Change-Id: I76c9853d62221718e20b836a27bc0a4253e9a6ea
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4610
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
Murai Takashi
2021-10-19 08:03:48 +00:00
committed by Adrien Destugues
parent 4fd470b7ce
commit 77c1611f1d
+2 -2
View File
@@ -460,7 +460,7 @@ socket_timeout::Shift(int socket, bigtime_t stateMaxTime, const char* device)
timeout = std::max(remaining, bigtime_t(60));
}
syslog(LOG_DEBUG, "%s: Timeout shift: %lu msecs (try %lu)\n",
syslog(LOG_DEBUG, "%s: Timeout shift: %" B_PRIdTIME " msecs (try %" B_PRIu8 ")\n",
device, timeout / 1000, tries);
UpdateSocket(socket);
@@ -868,7 +868,7 @@ DHCPClient::_ParseOptions(dhcp_message& message, BMessage& address,
break;
default:
syslog(LOG_DEBUG, " UNKNOWN OPTION %lu (0x%x)\n",
syslog(LOG_DEBUG, " UNKNOWN OPTION %" B_PRIu32 " (0x%" B_PRIx32 ")\n",
(uint32)option, (uint32)option);
break;
}