Date: Sun, 9 Feb 2025 16:38:27 GMT From: Zhenlei Huang <zlei@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: e4e6423ef3d2 - stable/14 - tests/sigsys: initialize parameter passed to sysctlbyname() Message-ID: <202502091638.519GcRK0021113@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=e4e6423ef3d2a787583d88a87a11748217602759 commit e4e6423ef3d2a787583d88a87a11748217602759 Author: Gleb Smirnoff <glebius@FreeBSD.org> AuthorDate: 2024-02-20 22:37:45 +0000 Commit: Zhenlei Huang <zlei@FreeBSD.org> CommitDate: 2025-02-09 16:36:24 +0000 tests/sigsys: initialize parameter passed to sysctlbyname() (cherry picked from commit e53b83a849e3a34772d0a0ed26eb0cb4aeeec71d) --- tests/sys/kern/sigsys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sys/kern/sigsys.c b/tests/sys/kern/sigsys.c index 14cdcd6a8362..d135ed777498 100644 --- a/tests/sys/kern/sigsys.c +++ b/tests/sys/kern/sigsys.c @@ -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];
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502091638.519GcRK0021113>