1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

librpc: Fix typos in error messages

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Sep 27 03:38:00 UTC 2023 on atb-devel-224
This commit is contained in:
Joseph Sutton 2021-05-04 15:08:53 +12:00 committed by Andrew Bartlett
parent 464d86cac5
commit c8b90d8d20
2 changed files with 2 additions and 2 deletions

View File

@ -1471,7 +1471,7 @@ _PUBLIC_ enum ndr_err_code ndr_push_struct_into_fixed_blob(
if (ndr.offset != blob->length) {
return ndr_push_error(&ndr, NDR_ERR_BUFSIZE,
"buffer was either to large or small "
"buffer was either too large or small "
"ofs[%"PRIu32"] size[%zu]",
ndr.offset, blob->length);
}

View File

@ -330,7 +330,7 @@ NTSTATUS dcerpc_pull_auth_trailer(const struct ncacn_packet *pkt,
max_pad_len = pkt->frag_length - tmp_length;
}
if (max_pad_len < auth->auth_pad_length) {
DEBUG(1, (__location__ ": ERROR: pad length to large. "
DEBUG(1, (__location__ ": ERROR: pad length too large. "
"max %"PRIu32" got %"PRIu8"\n",
max_pad_len,
auth->auth_pad_length));