Standardize protobuf "unable to unpack" warning messages.

This commit is contained in:
Todd C. Miller
2022-05-26 09:35:18 -06:00
parent 9ac42292d1
commit 38c6e1bffb
6 changed files with 6 additions and 6 deletions

View File

@@ -1615,7 +1615,7 @@ handle_server_message(uint8_t *buf, size_t len,
sudo_debug_printf(SUDO_DEBUG_INFO, "%s: unpacking ServerMessage", __func__);
msg = server_message__unpack(NULL, len, buf);
if (msg == NULL) {
sudo_warnx("%s", U_("unable to unpack ServerMessage"));
sudo_warnx(U_("unable to unpack %s size %zu"), "ServerMessage", len);
debug_return_bool(false);
}