tests/sigsys: initialize parameter passed to sysctlbyname()

(cherry picked from commit e53b83a849)
This commit is contained in:
Gleb Smirnoff 2024-02-20 14:37:45 -08:00 committed by Zhenlei Huang
parent a44843bfa1
commit e4e6423ef3

View file

@ -63,7 +63,7 @@ sigsys_test(int knob)
static void
sysctlset(const char *name, int val)
{
size_t oldlen;
size_t oldlen = sizeof(int);
int oldval;
char buf[80];