]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
rctl: fix sysctl kern.racct.enable use after r341182
authormjg <mjg@FreeBSD.org>
Wed, 3 Apr 2019 20:37:14 +0000 (20:37 +0000)
committermjg <mjg@FreeBSD.org>
Wed, 3 Apr 2019 20:37:14 +0000 (20:37 +0000)
commita53136e3149b4c8ae411819aae7965781860af3d
tree7e47e98966309e3563370911a26e860290627100
parent50c7932ba83e57f23bfd68ffcea9960614026384
rctl: fix sysctl kern.racct.enable use after r341182

The value was changed from int to bool. Since the new type
is smaller, the rest of the variable in the caller was left
unitialized.

PR: 236714
Reported by: trasz
Diagnosed by: markj
Sponsored by: The FreeBSD Foundation
usr.bin/rctl/rctl.c