Skip to content
Snippets Groups Projects
Commit ef2c8343 authored by Michael Tüxen's avatar Michael Tüxen
Browse files

Print flags in hex.

parent be359a05
No related branches found
No related tags found
No related merge requests found
......@@ -1963,7 +1963,7 @@ static int check_sctp_paddrparams(struct sctp_paddrparams_expr *expr,
return STATUS_ERR;
}
if (sctp_paddrparams->spp_flags != spp_flags) {
asprintf(error, "Bad getsockopt sctp_paddrparams.spp_flags: expected: %u actual: %u",
asprintf(error, "Bad getsockopt sctp_paddrparams.spp_flags: expected: 0x%08x actual: 0x%08x",
spp_flags, sctp_paddrparams->spp_flags);
return STATUS_ERR;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment