1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Use the correct number of arguments for the

opencrypto:deflate:deflate_global:bad DTrace probe, which is defined to
have

MFC after:	1 week
This commit is contained in:
Mark Johnston 2015-05-25 01:31:39 +00:00
parent 11027ebcbb
commit d0f6fcd886
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=283511

View File

@ -105,8 +105,8 @@ deflate_global(data, size, decomp, out)
bufh = bufp = malloc(sizeof(*bufp) + (size_t)(size * i),
M_CRYPTO_DATA, M_NOWAIT);
if (bufp == NULL) {
SDT_PROBE3(opencrypto, deflate, deflate_global, bad,
decomp, 0, __LINE__);
SDT_PROBE5(opencrypto, deflate, deflate_global, bad,
decomp, 0, __LINE__, 0, 0);
goto bad2;
}
bufp->next = NULL;
@ -125,8 +125,8 @@ deflate_global(data, size, decomp, out)
deflateInit2(&zbuf, Z_DEFAULT_COMPRESSION, Z_METHOD,
window_deflate, Z_MEMLEVEL, Z_DEFAULT_STRATEGY);
if (error != Z_OK) {
SDT_PROBE3(opencrypto, deflate, deflate_global, bad,
decomp, error, __LINE__);
SDT_PROBE5(opencrypto, deflate, deflate_global, bad,
decomp, error, __LINE__, 0, 0);
goto bad;
}
@ -165,8 +165,8 @@ deflate_global(data, size, decomp, out)
p = malloc(sizeof(*p) + (size_t)(size * i),
M_CRYPTO_DATA, M_NOWAIT);
if (p == NULL) {
SDT_PROBE3(opencrypto, deflate, deflate_global,
bad, decomp, 0, __LINE__);
SDT_PROBE5(opencrypto, deflate, deflate_global,
bad, decomp, 0, __LINE__, 0, 0);
goto bad;
}
p->next = NULL;
@ -195,8 +195,8 @@ deflate_global(data, size, decomp, out)
*out = malloc(result, M_CRYPTO_DATA, M_NOWAIT);
if (*out == NULL) {
SDT_PROBE3(opencrypto, deflate, deflate_global, bad,
decomp, 0, __LINE__);
SDT_PROBE5(opencrypto, deflate, deflate_global, bad,
decomp, 0, __LINE__, 0, 0);
goto bad;
}
if (decomp)